Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 82.27 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 151.9 kB / 24.81 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.158e-05, allocations: 2.312 kB / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004031/0.004053, allocations: 4.303 MB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.00605, allocations: 1.306 MB / 274 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.00665, allocations: 35.69 kB / 274 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.007034, allocations: 182.2 kB / 274.2 MB, free: 392 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.007661, allocations: 182.1 kB / 274.4 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.0084, allocations: 383.3 kB / 274.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000885/0.009285, allocations: 0.9972 MB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.009668, allocations: 267.4 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006355/0.0103, allocations: 0.4989 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.01057, allocations: 231.1 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.01065, allocations: 72 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.01083, allocations: 123.8 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.01092, allocations: 171.3 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.01109, allocations: 263.2 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.01202, allocations: 0.6845 MB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01203, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01203, allocations: 4 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.01204, allocations: 0 / 278 MB, free: 12.51 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.0011/0.01314, allocations: 1.196 MB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01318, allocations: 16.92 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.01334, allocations: 167.3 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.01393, allocations: 0.6008 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.01396, allocations: 58 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.01404, allocations: 83.95 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.01474, allocations: 0.7758 MB / 280.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.01477, allocations: 15.89 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.01481, allocations: 39.94 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.01483, allocations: 23.98 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.01518, allocations: 285.3 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.018, allocations: 5.475 MB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.0183, allocations: 207.8 kB / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.01838, allocations: 80.31 kB / 287.1 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.113e-05/0.01846, allocations: 16.31 kB / 287.1 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.01849, allocations: 41.77 kB / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.824e-06/0.01849, allocations: 0 / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001586/0.02007, allocations: 1.176 MB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.0201, allocations: 55.91 kB / 288.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.02044, allocations: 0.5731 MB / 288.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.02046, allocations: 37.7 kB / 289 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.02068, allocations: 0.5219 MB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.02079, allocations: 222.1 kB / 289.7 MB, free: 308 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.0209, allocations: 148.2 kB / 289.8 MB, free: 152 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1146/0.1355, allocations: 0.5585 MB / 290.4 MB, free: 30.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.1357, allocations: 68.66 kB / 290.5 MB, free: 30.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.136, allocations: 490.7 kB / 290.9 MB, free: 29.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.1365, allocations: 0.6288 MB / 291.6 MB, free: 29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.1365, allocations: 3.516 kB / 291.6 MB, free: 29 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0008592/0.1374, allocations: 0.5926 MB / 292.2 MB, free: 28.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1374, allocations: 11.84 kB / 292.2 MB, free: 28.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.1374, allocations: 10.67 kB / 292.2 MB, free: 28.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.1376, allocations: 50.25 kB / 292.2 MB, free: 28.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.138, allocations: 180 kB / 292.4 MB, free: 28.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.1389, allocations: 2.059 MB / 294.5 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.1391, allocations: 27.77 kB / 294.5 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.1392, allocations: 30.47 kB / 294.5 MB, free: 27 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.0001748/0.1394, allocations: 209.5 kB / 294.7 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.1394, allocations: 97.38 kB / 294.8 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.1395, allocations: 77.12 kB / 294.9 MB, free: 26.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1395, allocations: 6.938 kB / 294.9 MB, free: 26.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1395, allocations: 4.781 kB / 294.9 MB, free: 26.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1396, allocations: 2.859 kB / 294.9 MB, free: 26.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.1408, allocations: 1.034 MB / 295.9 MB, free: 26.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1408, allocations: 4.062 kB / 296 MB, free: 26.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.1411, allocations: 116.5 kB / 296.1 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.1412, allocations: 21.61 kB / 296.1 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1412, allocations: 13.88 kB / 296.1 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004958/0.1417, allocations: 1.709 MB / 297.8 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1417, allocations: 6.625 kB / 297.8 MB, free: 24.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.1422, allocations: 0.676 MB / 298.5 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1423, allocations: 69.45 kB / 298.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.1423, allocations: 14.81 kB / 298.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1424, allocations: 9.016 kB / 298.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.1425, allocations: 54.33 kB / 298.6 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1425, allocations: 14.3 kB / 298.7 MB, free: 24.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1427, allocations: 340.1 kB / 299 MB, free: 24.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1427, allocations: 0 / 299 MB, free: 24.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.1432, allocations: 136.9 kB / 299.1 MB, free: 24.06 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.0001072/0.1433, allocations: 118.1 kB / 299.2 MB, free: 23.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.1438, allocations: 0.5115 MB / 299.7 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1439, allocations: 1.312 kB / 299.7 MB, free: 23.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.1441, allocations: 316.8 kB / 300.1 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1445, allocations: 102.7 kB / 300.2 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1464, allocations: 1.641 MB / 301.8 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1465, allocations: 161.1 kB / 302 MB, free: 22.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1467, allocations: 86.91 kB / 302 MB, free: 22.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.1469, allocations: 202.5 kB / 302.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1469, allocations: 0 / 302.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of Templates: time 0.011/0.1579, allocations: 5.767 MB / 308 MB, free: 20.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8805096759460866]