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.001106/0.001106, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009016/0.0009016, allocations: 174.1 kB / 24.82 MB, free: 8.934 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.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.516 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 8.41e-07/8.41e-07, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.952e-05, allocations: 6.25 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004343/0.004362, allocations: 4.306 MB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.00639, allocations: 1.387 MB / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.006751, allocations: 31.69 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.007014, allocations: 178.2 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.007309, allocations: 190 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.00792, allocations: 379.3 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.008696, allocations: 1.001 MB / 280.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.009009, allocations: 267.4 kB / 281.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.009537, allocations: 0.5066 MB / 281.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.009766, allocations: 243.1 kB / 281.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.009837, allocations: 72 kB / 281.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.009993, allocations: 115.9 kB / 282 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.01008, allocations: 179.2 kB / 282.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.01025, allocations: 259.2 kB / 282.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.01084, allocations: 0.6884 MB / 283.1 MB, free: 7.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01085, allocations: 4 kB / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01085, allocations: 0 / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.01086, allocations: 0 / 283.2 MB, free: 7.492 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.0009918/0.01185, allocations: 1.2 MB / 284.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.01188, allocations: 8.031 kB / 284.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.01208, allocations: 183.3 kB / 284.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.01264, allocations: 0.6008 MB / 285.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.01267, allocations: 62 kB / 285.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.01274, allocations: 87.92 kB / 285.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.01342, allocations: 0.7689 MB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.01344, allocations: 11.92 kB / 286.1 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.01348, allocations: 39.94 kB / 286.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.0135, allocations: 23.98 kB / 286.1 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.01383, allocations: 285.3 kB / 286.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/0.1336, allocations: 5.472 MB / 291.9 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.1339, allocations: 200.9 kB / 292.1 MB, free: 21.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.134, allocations: 74.47 kB / 292.1 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.1341, allocations: 18.98 kB / 292.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1341, allocations: 43.98 kB / 292.2 MB, free: 21.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.765e-06/0.1341, allocations: 1.281 kB / 292.2 MB, free: 21.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001745/0.1359, allocations: 1.175 MB / 293.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.1359, allocations: 58.25 kB / 293.4 MB, free: 21.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.1363, allocations: 0.5655 MB / 294 MB, free: 20.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1363, allocations: 37.05 kB / 294 MB, free: 20.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1365, allocations: 0.5301 MB / 294.6 MB, free: 20.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.1366, allocations: 224 kB / 294.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1367, allocations: 144.9 kB / 294.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1368, allocations: 0.5601 MB / 295.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1369, allocations: 74.83 kB / 295.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.1371, allocations: 492.9 kB / 296 MB, free: 19.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1375, allocations: 0.6295 MB / 296.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1375, allocations: 6.844 kB / 296.7 MB, free: 18.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.000632/0.1381, allocations: 0.5949 MB / 297.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1381, allocations: 13.69 kB / 297.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1381, allocations: 10.66 kB / 297.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.1383, allocations: 50.72 kB / 297.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.1386, allocations: 181.9 kB / 297.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006941/0.1393, allocations: 2.055 MB / 299.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1395, allocations: 27.52 kB / 299.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.1395, allocations: 27.58 kB / 299.6 MB, free: 16.95 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.0001287/0.1397, allocations: 217.9 kB / 299.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.1397, allocations: 95.31 kB / 299.9 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.1398, allocations: 75.33 kB / 300 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1398, allocations: 4.938 kB / 300 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1398, allocations: 1.125 kB / 300 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1398, allocations: 7.844 kB / 300 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1408, allocations: 1.024 MB / 301.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1408, allocations: 10.16 kB / 301.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.1411, allocations: 112 kB / 301.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.977e-05/0.1412, allocations: 24.58 kB / 301.2 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1412, allocations: 13.44 kB / 301.2 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003977/0.1416, allocations: 1.715 MB / 302.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1416, allocations: 12.62 kB / 302.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.1421, allocations: 0.6695 MB / 303.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1421, allocations: 63.44 kB / 303.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.1422, allocations: 15.72 kB / 303.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1423, allocations: 13.75 kB / 303.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.1423, allocations: 46.84 kB / 303.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1424, allocations: 14.64 kB / 303.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.1426, allocations: 340.5 kB / 304.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1426, allocations: 1.438 kB / 304.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.143, allocations: 138 kB / 304.2 MB, free: 13.88 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.0001044/0.1431, allocations: 122.2 kB / 304.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.1436, allocations: 0.5171 MB / 304.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1436, allocations: 0 / 304.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.1438, allocations: 316.4 kB / 305.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1442, allocations: 101.6 kB / 305.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1461, allocations: 1.652 MB / 306.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.1462, allocations: 161.6 kB / 307.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.1464, allocations: 87.03 kB / 307.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.1466, allocations: 195.8 kB / 307.4 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1466, allocations: 5.375 kB / 307.4 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.009523/0.1561, allocations: 5.773 MB / 313.1 MB, free: 9.703 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.7514429856091738]