Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002222/0.002222, allocations: 164 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 9.082 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.14 kB / 325.6 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09142, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005677/0.09709, allocations: 4.111 MB / 383 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.09947, allocations: 1.36 MB / 384.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.09976, allocations: 35.69 kB / 384.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.1001, allocations: 174.2 kB / 384.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1005, allocations: 174.3 kB / 384.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.1012, allocations: 379.4 kB / 385.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1022, allocations: 0.9743 MB / 386.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.1027, allocations: 271.4 kB / 386.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.1031, allocations: 350.5 kB / 386.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1035, allocations: 310 kB / 387 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.1036, allocations: 72 kB / 387.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1038, allocations: 119.9 kB / 387.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1039, allocations: 171.3 kB / 387.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.1042, allocations: 334.1 kB / 387.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1054, allocations: 1.116 MB / 388.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1054, allocations: 0 / 388.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1054, allocations: 0 / 388.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.1054, allocations: 0 / 388.8 MB, free: 5.75 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.001607/0.107, allocations: 1.1 MB / 389.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.107, allocations: 12.03 kB / 389.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.1073, allocations: 119.3 kB / 390 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1083, allocations: 0.5551 MB / 390.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.1084, allocations: 61.94 kB / 390.6 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1085, allocations: 83.95 kB / 390.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.1098, allocations: 0.8481 MB / 391.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.1098, allocations: 7.938 kB / 391.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.1099, allocations: 36 kB / 391.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.1099, allocations: 24 kB / 391.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.1108, allocations: 467.3 kB / 392.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.1146, allocations: 4.093 MB / 396.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.1151, allocations: 277.5 kB / 396.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1153, allocations: 133.5 kB / 396.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.1155, allocations: 16.36 kB / 396.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1155, allocations: 42.88 kB / 396.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.123e-06/0.1155, allocations: 0 / 396.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003247/0.1187, allocations: 1.605 MB / 398.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1188, allocations: 59.91 kB / 398.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.1194, allocations: 0.5508 MB / 398.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1194, allocations: 33.7 kB / 398.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.1198, allocations: 491.7 kB / 399.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.12, allocations: 222.1 kB / 399.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1201, allocations: 138.6 kB / 399.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1204, allocations: 390.7 kB / 400.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.1207, allocations: 161.9 kB / 400.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.1213, allocations: 451.3 kB / 400.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.1222, allocations: 0.6721 MB / 401.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1222, allocations: 4 kB / 401.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001345/0.1235, allocations: 0.7475 MB / 402.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1235, allocations: 8 kB / 402.1 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.1236, allocations: 12 kB / 402.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.1237, allocations: 44.84 kB / 402.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.1243, allocations: 184.5 kB / 402.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.1259, allocations: 1.559 MB / 403.9 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1262, allocations: 32 kB / 404 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.1262, allocations: 32 kB / 404 MB, free: 5.691 MB / 366.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.0003158/0.1265, allocations: 237.5 kB / 404.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1266, allocations: 79.47 kB / 404.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.1268, allocations: 75.06 kB / 404.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.1268, allocations: 12 kB / 404.4 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1268, allocations: 4 kB / 404.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1268, allocations: 0 / 404.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.1287, allocations: 1.175 MB / 405.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1288, allocations: 8 kB / 405.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.1293, allocations: 119.9 kB / 405.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.111e-05/0.1293, allocations: 20.86 kB / 405.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1294, allocations: 23.98 kB / 405.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1304, allocations: 1.237 MB / 407 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1304, allocations: 4.094 kB / 407 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1317, allocations: 0.7885 MB / 407.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.1318, allocations: 63.53 kB / 407.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.1318, allocations: 16 kB / 407.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1321, allocations: 11.98 kB / 407.9 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.1321, allocations: 47.91 kB / 407.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.1322, allocations: 19.98 kB / 407.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.1326, allocations: 359.1 kB / 408.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1326, allocations: 4.188 kB / 408.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006856/0.1333, allocations: 144 kB / 408.4 MB, free: 1.023 MB / 366.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.0001699/0.1335, allocations: 115.1 kB / 408.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.1345, allocations: 0.5636 MB / 409.1 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1345, allocations: 1.562 kB / 409.1 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.1349, allocations: 299.2 kB / 409.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.1356, allocations: 102.4 kB / 409.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.1385, allocations: 1.874 MB / 411.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1389, allocations: 374.3 kB / 411.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.1391, allocations: 93.95 kB / 411.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1393, allocations: 60.48 kB / 411.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1393, allocations: 0 / 411.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01251/0.1518, allocations: 5.236 MB / 417.1 MB, free: 8.312 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.488054792978801]