Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 116 kB / 21.19 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 219.2 kB / 24.48 MB, free: 4.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 258.1 MB, free: 8.113 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2095, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01371/0.2232, allocations: 12.25 MB / 444.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.2279, allocations: 3.323 MB / 447.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.2285, allocations: 35.94 kB / 447.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2299, allocations: 0.6946 MB / 448.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2312, allocations: 0.7833 MB / 449.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.2318, allocations: 411.4 kB / 449.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.2343, allocations: 2.414 MB / 452 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.2353, allocations: 0.6535 MB / 452.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2364, allocations: 0.9145 MB / 453.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.2375, allocations: 0.98 MB / 454.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.2378, allocations: 228 kB / 454.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.2382, allocations: 268 kB / 455 MB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.2386, allocations: 462.3 kB / 455.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009945/0.2396, allocations: 1.069 MB / 456.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.2424, allocations: 2.848 MB / 459.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2424, allocations: 0 / 459.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2424, allocations: 0 / 459.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.2425, allocations: 0 / 459.4 MB, free: 11.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.003764/0.2462, allocations: 2.209 MB / 461.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2463, allocations: 8.031 kB / 461.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.2472, allocations: 295.5 kB / 461.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.249, allocations: 1.135 MB / 463 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.2491, allocations: 119.5 kB / 463.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.2493, allocations: 159.9 kB / 463.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.2518, allocations: 1.512 MB / 464.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/0.2518, allocations: 7.953 kB / 464.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.252, allocations: 60 kB / 464.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.252, allocations: 47.94 kB / 464.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.2541, allocations: 1.045 MB / 466 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008284/0.2624, allocations: 6.244 MB / 472.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.264, allocations: 0.569 MB / 472.8 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009648/0.2649, allocations: 434.1 kB / 473.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.265, allocations: 16.7 kB / 473.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.265, allocations: 39.12 kB / 473.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.265, allocations: 0 / 473.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.00508/0.2701, allocations: 2.383 MB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.2701, allocations: 119.4 kB / 475.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.272, allocations: 1.302 MB / 477 MB, free: 9.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.272, allocations: 41.7 kB / 477.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.2727, allocations: 0.8749 MB / 478 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.273, allocations: 269.7 kB / 478.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.2733, allocations: 210.7 kB / 478.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2734, allocations: 353.9 kB / 478.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.2741, allocations: 282.5 kB / 479 MB, free: 7.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/0.2751, allocations: 0.7304 MB / 479.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.2768, allocations: 1.096 MB / 480.9 MB, free: 5.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2768, allocations: 4 kB / 480.9 MB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00252/0.2793, allocations: 1.26 MB / 482.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.2793, allocations: 14.97 kB / 482.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.2794, allocations: 16.5 kB / 482.2 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.2798, allocations: 138.5 kB / 482.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.2807, allocations: 255.6 kB / 482.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.2852, allocations: 4.631 MB / 487.2 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.286, allocations: 59.98 kB / 487.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.2861, allocations: 59.94 kB / 487.3 MB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.2866, allocations: 361.5 kB / 487.7 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.2868, allocations: 147.1 kB / 487.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.2887, allocations: 0.8256 MB / 488.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2887, allocations: 3.984 kB / 488.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2887, allocations: 7.938 kB / 488.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.2891, allocations: 276.1 kB / 488.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.2893, allocations: 15.98 kB / 488.9 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.2899, allocations: 35.97 kB / 489 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.29, allocations: 52.52 kB / 489 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002265/0.2923, allocations: 0.8547 MB / 489.9 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002055/0.2943, allocations: 1.16 MB / 491 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005094/0.2948, allocations: 245.1 kB / 491.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001262/0.2961, allocations: 0.8742 MB / 492.1 MB, free: 9.508 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.2961, allocations: 4 kB / 492.1 MB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.2981, allocations: 0.9854 MB / 493.1 MB, free: 8.477 MB / 398.1 MB Notification: Performance of SimCode: time 0.00506/0.3032, allocations: 3.437 MB / 496.6 MB, free: 4.988 MB / 398.1 MB Notification: Performance of Templates: time 0.0344/0.3376, allocations: 19.3 MB / 0.5038 GB, free: 1.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_withLosses/DCPM_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.842922037001699]