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.002157/0.002157, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001875/0.001875, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.544/1.544, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.273e-06/1.273e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.269e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006647/0.00667, allocations: 4.343 MB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.009463, allocations: 1.317 MB / 273 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.009846, allocations: 31.69 kB / 273 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.01026, allocations: 186.2 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.01066, allocations: 170.2 kB / 273.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.01145, allocations: 375.3 kB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01265, allocations: 0.9934 MB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.01313, allocations: 267.4 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.01381, allocations: 0.4988 MB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.01416, allocations: 235.1 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.01428, allocations: 72 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.01452, allocations: 111.9 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.0147, allocations: 187.2 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.015, allocations: 255.3 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.01631, allocations: 1.098 MB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01631, allocations: 0 / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01631, allocations: 4 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.01633, allocations: 0 / 277.4 MB, free: 12.59 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.001895/0.01822, allocations: 1.255 MB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.01826, allocations: 16.86 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.01852, allocations: 171.3 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.01957, allocations: 0.6086 MB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.01964, allocations: 62 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.01976, allocations: 83.95 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.02145, allocations: 0.9589 MB / 280.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.02149, allocations: 11.89 kB / 280.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.02156, allocations: 43.94 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.02159, allocations: 23.98 kB / 280.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009517/0.02254, allocations: 455.3 kB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005524/0.02806, allocations: 5.857 MB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.0287, allocations: 308.2 kB / 287.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.02895, allocations: 128.4 kB / 287.4 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.02909, allocations: 28.36 kB / 287.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.02913, allocations: 37.77 kB / 287.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.966e-06/0.02913, allocations: 3.938 kB / 287.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003869/0.033, allocations: 1.632 MB / 289.1 MB, free: 416 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.03306, allocations: 59.91 kB / 289.1 MB, free: 344 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1012/0.1342, allocations: 0.7208 MB / 289.8 MB, free: 32.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.1343, allocations: 37.33 kB / 289.9 MB, free: 32.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.1346, allocations: 0.5572 MB / 290.4 MB, free: 32.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1347, allocations: 236.2 kB / 290.7 MB, free: 32.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.1349, allocations: 168 kB / 290.8 MB, free: 32.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.135, allocations: 0.6009 MB / 291.4 MB, free: 31.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.1353, allocations: 158.1 kB / 291.6 MB, free: 31.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.1357, allocations: 0.5844 MB / 292.2 MB, free: 31.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.1364, allocations: 0.8095 MB / 293 MB, free: 30.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1364, allocations: 7.344 kB / 293 MB, free: 30.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001106/0.1375, allocations: 0.7763 MB / 293.8 MB, free: 30.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.1376, allocations: 9.656 kB / 293.8 MB, free: 30.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.1376, allocations: 12.81 kB / 293.8 MB, free: 30.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.1378, allocations: 55.02 kB / 293.8 MB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.1384, allocations: 188.1 kB / 294 MB, free: 30.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.1394, allocations: 2.177 MB / 296.2 MB, free: 27.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1397, allocations: 25.05 kB / 296.2 MB, free: 27.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.1398, allocations: 40.94 kB / 296.3 MB, free: 27.96 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.0002437/0.14, allocations: 279 kB / 296.5 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1401, allocations: 96.61 kB / 296.6 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.1402, allocations: 73.14 kB / 296.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1403, allocations: 6.625 kB / 296.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.1403, allocations: 0.6094 kB / 296.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1403, allocations: 3.891 kB / 296.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1421, allocations: 1.439 MB / 298.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1421, allocations: 3.062 kB / 298.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.1426, allocations: 121.5 kB / 298.3 MB, free: 26.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.371e-05/0.1427, allocations: 30.67 kB / 298.3 MB, free: 26.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1427, allocations: 15.5 kB / 298.3 MB, free: 26.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000617/0.1433, allocations: 1.772 MB / 300.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1433, allocations: 7.094 kB / 300.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.1442, allocations: 0.8767 MB / 301 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.1443, allocations: 65.16 kB / 301 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.1444, allocations: 18.94 kB / 301 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1446, allocations: 13.8 kB / 301.1 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.1446, allocations: 45.7 kB / 301.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1447, allocations: 18.11 kB / 301.1 MB, free: 24.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004084/0.1451, allocations: 442.4 kB / 301.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1451, allocations: 0 / 301.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00061/0.1457, allocations: 141.5 kB / 301.7 MB, free: 24.07 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.0001205/0.1458, allocations: 118.6 kB / 301.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009221/0.1467, allocations: 0.6775 MB / 302.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1467, allocations: 0 / 302.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.1471, allocations: 387.7 kB / 302.9 MB, free: 23.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.1477, allocations: 100.5 kB / 303 MB, free: 23.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1499, allocations: 1.725 MB / 304.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1502, allocations: 373.3 kB / 305.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.1505, allocations: 82.64 kB / 305.1 MB, free: 22.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1506, allocations: 64.62 kB / 305.2 MB, free: 22.04 MB / 266.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1506, allocations: 0 / 305.2 MB, free: 22.04 MB / 266.7 MB Notification: Performance of Templates: time 0.01058/0.1612, allocations: 5.295 MB / 310.5 MB, free: 19.43 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.665095375967212]