Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 190.9 kB / 21.34 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 247 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 55.91 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 49.43 MB / 408.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00658/0.114, allocations: 4.572 MB / 412.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.1172, allocations: 1.337 MB / 414 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.1178, allocations: 19.88 kB / 414 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1183, allocations: 178.2 kB / 414.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.1189, allocations: 162.3 kB / 414.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.1198, allocations: 371.4 kB / 414.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.1211, allocations: 0.9821 MB / 415.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006609/0.1218, allocations: 418.9 kB / 416.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.1222, allocations: 322.6 kB / 416.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.1227, allocations: 342 kB / 416.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1228, allocations: 72 kB / 416.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.123, allocations: 123.9 kB / 416.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1232, allocations: 175.3 kB / 417.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.1236, allocations: 425.6 kB / 417.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.125, allocations: 1.101 MB / 418.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.125, allocations: 4 kB / 418.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.125, allocations: 3.938 kB / 418.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1251, allocations: 0 / 418.6 MB, free: 12.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001925/0.127, allocations: 1.17 MB / 419.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.127, allocations: 12.02 kB / 419.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1272, allocations: 111.3 kB / 419.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1283, allocations: 0.6311 MB / 420.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.1284, allocations: 58 kB / 420.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1285, allocations: 83.95 kB / 420.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1299, allocations: 0.8442 MB / 421.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.1299, allocations: 15.88 kB / 421.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.049e-05/0.13, allocations: 40 kB / 421.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.13, allocations: 24 kB / 421.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.1309, allocations: 467.3 kB / 422.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.135, allocations: 4.381 MB / 426.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.1357, allocations: 292.2 kB / 426.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.1359, allocations: 149.5 kB / 426.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.1362, allocations: 170.6 kB / 427.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1362, allocations: 38.94 kB / 427.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.185e-06/0.1362, allocations: 0 / 427.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003534/0.1398, allocations: 1.747 MB / 428.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.1398, allocations: 55.97 kB / 428.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.1405, allocations: 0.5431 MB / 429.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1405, allocations: 29.7 kB / 429.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.1409, allocations: 495.7 kB / 430 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1411, allocations: 218.1 kB / 430.2 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1413, allocations: 146.6 kB / 430.3 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2052/0.3465, allocations: 378.8 kB / 430.7 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.347, allocations: 160 kB / 430.8 MB, free: 22.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.3473, allocations: 462.7 kB / 431.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.348, allocations: 0.6664 MB / 432 MB, free: 22.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.348, allocations: 2.812 kB / 432 MB, free: 22.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001053/0.3491, allocations: 0.7475 MB / 432.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3491, allocations: 9.062 kB / 432.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.3491, allocations: 11.19 kB / 432.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.3493, allocations: 46.08 kB / 432.8 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.3499, allocations: 181.7 kB / 432.9 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.3509, allocations: 1.697 MB / 434.6 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.3513, allocations: 26.89 kB / 434.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.3513, allocations: 36.47 kB / 434.7 MB, free: 20.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.3516, allocations: 234.1 kB / 434.9 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.3517, allocations: 80.25 kB / 435 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3518, allocations: 73.67 kB / 435.1 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3518, allocations: 8.062 kB / 435.1 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3518, allocations: 0 / 435.1 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3519, allocations: 5.438 kB / 435.1 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.3535, allocations: 1.412 MB / 436.5 MB, free: 19.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3536, allocations: 2.781 kB / 436.5 MB, free: 19.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.354, allocations: 116.6 kB / 436.6 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.533e-05/0.3541, allocations: 20.39 kB / 436.6 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3541, allocations: 18.91 kB / 436.7 MB, free: 19.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006923/0.3548, allocations: 1.373 MB / 438 MB, free: 18.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.3549, allocations: 11.47 kB / 438 MB, free: 18.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.356, allocations: 0.7808 MB / 438.8 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.3561, allocations: 142 kB / 439 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.3562, allocations: 15.25 kB / 439 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3564, allocations: 18.77 kB / 439 MB, free: 18.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.3565, allocations: 49.33 kB / 439 MB, free: 18.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.3565, allocations: 19.58 kB / 439.1 MB, free: 18.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004769/0.357, allocations: 363.3 kB / 439.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.357, allocations: 0 / 439.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007064/0.3577, allocations: 140.5 kB / 439.6 MB, free: 18.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.3579, allocations: 121.4 kB / 439.7 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3589, allocations: 0.587 MB / 440.3 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3589, allocations: 0 / 440.3 MB, free: 17.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3593, allocations: 313.5 kB / 440.6 MB, free: 17.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.3599, allocations: 100.3 kB / 440.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.3623, allocations: 1.906 MB / 442.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3628, allocations: 0.9641 MB / 443.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.363, allocations: 63.97 kB / 443.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.363, allocations: 1.094 kB / 443.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.01875/0.3818, allocations: 12.45 MB / 456 MB, free: 11.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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: 8.324796884087846]