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.0009305/0.0009305, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009984/0.0009984, allocations: 168.3 kB / 25.7 MB, free: 8.43 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 0.853/0.853, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.473e-06/1.473e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.492e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003528/0.003543, allocations: 4.285 MB / 255.8 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.00568, allocations: 1.407 MB / 257.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.005977, allocations: 35.69 kB / 257.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.006256, allocations: 174.2 kB / 257.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.006539, allocations: 182 kB / 257.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.007193, allocations: 375.4 kB / 258 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.00791, allocations: 1.001 MB / 259 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.008215, allocations: 271.4 kB / 259.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.008649, allocations: 0.5028 MB / 259.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.008858, allocations: 239.1 kB / 260 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.008924, allocations: 75.94 kB / 260 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.009063, allocations: 115.9 kB / 260.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.009157, allocations: 179.2 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.009312, allocations: 259.3 kB / 260.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.009843, allocations: 0.6806 MB / 261.3 MB, free: 13.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.009844, allocations: 0 / 261.3 MB, free: 13.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.009845, allocations: 0 / 261.3 MB, free: 13.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.009854, allocations: 3.938 kB / 261.3 MB, free: 13.45 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.0008882/0.01074, allocations: 1.072 MB / 262.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.01077, allocations: 8.031 kB / 262.3 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.01088, allocations: 135.9 kB / 262.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.01141, allocations: 0.4966 MB / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.01145, allocations: 62 kB / 263 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.01151, allocations: 83.94 kB / 263.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.01209, allocations: 0.712 MB / 263.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.01212, allocations: 7.938 kB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.01215, allocations: 35.94 kB / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01217, allocations: 20 kB / 263.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.01245, allocations: 265.4 kB / 264.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.01437, allocations: 3.734 MB / 267.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.01461, allocations: 188.2 kB / 268.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.01467, allocations: 65.59 kB / 268.1 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/0.01474, allocations: 16.36 kB / 268.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.01476, allocations: 38.94 kB / 268.2 MB, free: 6.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 2.305e-06/0.01476, allocations: 4 kB / 268.2 MB, free: 6.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=57): time 0.001517/0.01628, allocations: 1.156 MB / 269.3 MB, free: 4.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.0163, allocations: 55.91 kB / 269.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.01661, allocations: 0.5192 MB / 269.9 MB, free: 4.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01663, allocations: 33.7 kB / 270 MB, free: 4.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.01678, allocations: 420.9 kB / 270.4 MB, free: 3.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.01693, allocations: 218.2 kB / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.01703, allocations: 142.5 kB / 270.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.01713, allocations: 386.6 kB / 271.1 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.01719, allocations: 65.97 kB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.01738, allocations: 371.2 kB / 271.5 MB, free: 2.609 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.01782, allocations: 0.5119 MB / 272 MB, free: 1.965 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.01782, allocations: 11.88 kB / 272 MB, free: 1.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004059/0.01823, allocations: 486.7 kB / 272.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01825, allocations: 8 kB / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.01826, allocations: 16.06 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.58e-05/0.01835, allocations: 45.66 kB / 272.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.01864, allocations: 179.7 kB / 272.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/0.0193, allocations: 1.402 MB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.01945, allocations: 31.94 kB / 274.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.01948, allocations: 28.08 kB / 274.2 MB, free: 15.68 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.0001192/0.01959, allocations: 165.5 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.01964, allocations: 63.97 kB / 274.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.0197, allocations: 79.06 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01971, allocations: 4 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01971, allocations: 0 / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01972, allocations: 0 / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.02052, allocations: 0.8287 MB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02053, allocations: 4 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.02076, allocations: 111.9 kB / 275.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.02082, allocations: 20.86 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.02083, allocations: 19.98 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006864/0.02152, allocations: 1.166 MB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02152, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.02189, allocations: 0.5165 MB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.02194, allocations: 59.53 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.02197, allocations: 15.94 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.02206, allocations: 12 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.02211, allocations: 43.92 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.02212, allocations: 20 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.02226, allocations: 228.6 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02226, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.0226, allocations: 143.9 kB / 277.7 MB, free: 11.98 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 8.667e-05/0.02269, allocations: 92.3 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.02307, allocations: 459.3 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.02308, allocations: 8.5 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.02324, allocations: 256.7 kB / 278.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.02354, allocations: 102.9 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.02496, allocations: 1.423 MB / 280 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.749e-05/0.02506, allocations: 159.1 kB / 280.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.02521, allocations: 85.92 kB / 280.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.02537, allocations: 163.3 kB / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02537, allocations: 0 / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of Templates: time 0.008572/0.03395, allocations: 5.743 MB / 286.2 MB, free: 3.434 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.795370904263109]