Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00177/0.00177, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001436/0.001436, allocations: 169.6 kB / 25.03 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 158.6 MB / 186.8 MB, free: 2.844 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.455e-05, allocations: 6.312 kB / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006417/0.006442, allocations: 4.097 MB / 254.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.009247, allocations: 1.334 MB / 255.8 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.009593, allocations: 35.69 kB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.01001, allocations: 186.2 kB / 256 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.01039, allocations: 174.2 kB / 256.2 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.01122, allocations: 375.3 kB / 256.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.01244, allocations: 1.001 MB / 257.5 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.01295, allocations: 263.4 kB / 257.8 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.01364, allocations: 0.4949 MB / 258.3 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.014, allocations: 231.1 kB / 258.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.01437, allocations: 72 kB / 258.6 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.0146, allocations: 111.9 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.01477, allocations: 175.3 kB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.01507, allocations: 263.2 kB / 259.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.01638, allocations: 1.098 MB / 260.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01638, allocations: 0 / 260.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01638, allocations: 0 / 260.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.01639, allocations: 0 / 260.2 MB, free: 10.01 MB / 250.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.001817/0.01821, allocations: 1.093 MB / 261.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.01825, allocations: 12.03 kB / 261.3 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.01853, allocations: 171.3 kB / 261.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.01957, allocations: 0.5942 MB / 262.1 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.01963, allocations: 58 kB / 262.1 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.01976, allocations: 80 kB / 262.2 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.0213, allocations: 0.8443 MB / 263.1 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.02135, allocations: 11.89 kB / 263.1 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.02142, allocations: 39.94 kB / 263.1 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.02145, allocations: 24 kB / 263.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.02243, allocations: 467.2 kB / 263.6 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.02735, allocations: 4.113 MB / 267.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.02801, allocations: 279.9 kB / 268 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.02828, allocations: 129.6 kB / 268.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.02842, allocations: 20.36 kB / 268.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.02846, allocations: 42.94 kB / 268.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 1.914e-06/0.02846, allocations: 0 / 268.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.003729/0.03219, allocations: 1.611 MB / 269.8 MB, free: 24 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.03226, allocations: 59.91 kB / 269.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.03302, allocations: 0.5469 MB / 270.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.03307, allocations: 41.7 kB / 270.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.03351, allocations: 483.8 kB / 270.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.03372, allocations: 222.1 kB / 271.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.03392, allocations: 134.6 kB / 271.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.03417, allocations: 386.7 kB / 271.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.03449, allocations: 161.9 kB / 271.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.03512, allocations: 463.2 kB / 272.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.03642, allocations: 0.6644 MB / 272.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.03643, allocations: 8 kB / 272.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00138/0.03781, allocations: 0.7831 MB / 273.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.03784, allocations: 8.188 kB / 273.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.03785, allocations: 12 kB / 273.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.03806, allocations: 52.78 kB / 273.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.03867, allocations: 179.7 kB / 273.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.04034, allocations: 1.543 MB / 275.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.04066, allocations: 35.88 kB / 275.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.04072, allocations: 36.06 kB / 275.6 MB, free: 9.832 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.0003603/0.04108, allocations: 237.5 kB / 275.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.04122, allocations: 91.52 kB / 275.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.04137, allocations: 75.08 kB / 275.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.04137, allocations: 8 kB / 276 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.04138, allocations: 192 / 276 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.04139, allocations: 7.922 kB / 276 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.04367, allocations: 1.187 MB / 277.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.04367, allocations: 7.938 kB / 277.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.04419, allocations: 111.9 kB / 277.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.04429, allocations: 24.86 kB / 277.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.04433, allocations: 20.27 kB / 277.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.04555, allocations: 1.252 MB / 278.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.04555, allocations: 4 kB / 278.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.04686, allocations: 0.7886 MB / 279.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.04698, allocations: 67.69 kB / 279.4 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.04704, allocations: 19.98 kB / 279.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.04726, allocations: 12 kB / 279.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.04736, allocations: 43.91 kB / 279.5 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.0474, allocations: 23.98 kB / 279.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007841/0.04818, allocations: 359.1 kB / 279.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04818, allocations: 0 / 279.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007453/0.04893, allocations: 140 kB / 280 MB, free: 5.133 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.000196/0.04912, allocations: 117.9 kB / 280.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.05024, allocations: 0.5708 MB / 280.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.05025, allocations: 7.938 kB / 280.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.0507, allocations: 290.3 kB / 281 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.05135, allocations: 114.2 kB / 281.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.05435, allocations: 1.669 MB / 282.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.0548, allocations: 374.3 kB / 283.1 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00028/0.05508, allocations: 93.91 kB / 283.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.05522, allocations: 60.48 kB / 283.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.05522, allocations: 0 / 283.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of Templates: time 0.01272/0.06794, allocations: 5.253 MB / 288.5 MB, free: 12.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.640908819041215]