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.0009819/0.0009819, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.000968/0.000968, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9985/0.9985, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.371e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003947/0.003961, allocations: 4.317 MB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.005976, allocations: 1.437 MB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.006264, allocations: 35.69 kB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.006533, allocations: 170.3 kB / 279.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.006805, allocations: 190 kB / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.007392, allocations: 383.3 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.008085, allocations: 0.9934 MB / 280.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.008403, allocations: 287.4 kB / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.008949, allocations: 0.5067 MB / 281.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.009235, allocations: 231.2 kB / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.009306, allocations: 72 kB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.009466, allocations: 119.8 kB / 282.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.009557, allocations: 179.2 kB / 282.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.009725, allocations: 263.2 kB / 282.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.01025, allocations: 0.6923 MB / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01026, allocations: 4 kB / 283.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.01026, allocations: 0 / 283.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.01027, allocations: 0 / 283.3 MB, free: 7.422 MB / 266.7 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.0009119/0.01118, allocations: 1.083 MB / 284.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01121, allocations: 8.031 kB / 284.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.01141, allocations: 135.9 kB / 284.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.01193, allocations: 0.5005 MB / 285 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.01196, allocations: 58 kB / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.01203, allocations: 83.95 kB / 285.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.01259, allocations: 0.705 MB / 285.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.01262, allocations: 15.88 kB / 285.9 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.01265, allocations: 35.94 kB / 285.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.01266, allocations: 24 kB / 285.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.01294, allocations: 265.4 kB / 286.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01482, allocations: 3.73 MB / 289.9 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01506, allocations: 191.6 kB / 290.1 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.01513, allocations: 65.58 kB / 290.1 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.01521, allocations: 20.31 kB / 290.2 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.01523, allocations: 34.94 kB / 290.2 MB, free: 132 kB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.463e-06/0.01524, allocations: 0 / 290.2 MB, free: 132 kB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.1167/0.1319, allocations: 1.157 MB / 291.4 MB, free: 26.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.132, allocations: 58.95 kB / 291.4 MB, free: 26.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.1323, allocations: 0.5135 MB / 291.9 MB, free: 26.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1323, allocations: 37.2 kB / 292 MB, free: 26.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1325, allocations: 421.2 kB / 292.4 MB, free: 25.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.1326, allocations: 222.8 kB / 292.6 MB, free: 25.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1327, allocations: 142.9 kB / 292.7 MB, free: 25.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.1328, allocations: 390.4 kB / 293.1 MB, free: 25.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.1329, allocations: 64.73 kB / 293.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.133, allocations: 369.2 kB / 293.5 MB, free: 25.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.1334, allocations: 0.5134 MB / 294.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1334, allocations: 2.219 kB / 294.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0005433/0.134, allocations: 488.8 kB / 294.5 MB, free: 24.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.134, allocations: 13.2 kB / 294.5 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.134, allocations: 9.75 kB / 294.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001396/0.1341, allocations: 43.78 kB / 294.6 MB, free: 24.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.1345, allocations: 179.4 kB / 294.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/0.1351, allocations: 1.405 MB / 296.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1353, allocations: 31.2 kB / 296.2 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.1353, allocations: 33.42 kB / 296.2 MB, free: 23.38 MB / 266.7 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.0001361/0.1355, allocations: 168.7 kB / 296.4 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.1356, allocations: 59.48 kB / 296.5 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.1356, allocations: 74.17 kB / 296.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1356, allocations: 6.562 kB / 296.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.1356, allocations: 1.297 kB / 296.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1357, allocations: 3.141 kB / 296.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.1366, allocations: 0.8166 MB / 297.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1366, allocations: 3.156 kB / 297.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1368, allocations: 121.4 kB / 297.5 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.1369, allocations: 19.66 kB / 297.5 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1369, allocations: 15.67 kB / 297.5 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003375/0.1373, allocations: 1.155 MB / 298.7 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1373, allocations: 10.75 kB / 298.7 MB, free: 21.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.1377, allocations: 0.5117 MB / 299.2 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.1378, allocations: 61.42 kB / 299.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1378, allocations: 21.12 kB / 299.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1379, allocations: 11.66 kB / 299.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.138, allocations: 46.33 kB / 299.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.138, allocations: 14.16 kB / 299.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1382, allocations: 226.5 kB / 299.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1382, allocations: 1.188 kB / 299.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.1386, allocations: 139.7 kB / 299.7 MB, free: 21.41 MB / 266.7 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.0001022/0.1387, allocations: 112 kB / 299.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.1392, allocations: 447.3 kB / 300.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.1392, allocations: 11.45 kB / 300.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1393, allocations: 256.6 kB / 300.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1397, allocations: 100.6 kB / 300.6 MB, free: 21.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1414, allocations: 1.43 MB / 302 MB, free: 20.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.1416, allocations: 161.9 kB / 302.2 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.1417, allocations: 87.53 kB / 302.3 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.1419, allocations: 165.5 kB / 302.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.123e-06/0.1419, allocations: 0 / 302.4 MB, free: 20.05 MB / 266.7 MB Notification: Performance of Templates: time 0.009605/0.1515, allocations: 5.762 MB / 308.2 MB, free: 18.16 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8710072431713343]