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.001445/0.001445, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001436/0.001436, allocations: 143.5 kB / 24.97 MB, free: 9.348 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.9067/0.9067, allocations: 173.4 MB / 201.5 MB, free: 9.316 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.784e-06/1.784e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.03e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005973/0.005993, allocations: 4.381 MB / 272.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.00859, allocations: 1.314 MB / 273.8 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.009008, allocations: 31.69 kB / 273.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.009384, allocations: 178.2 kB / 274 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.009796, allocations: 178.2 kB / 274.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.01056, allocations: 367.4 kB / 274.5 MB, free: 264 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.0116, allocations: 1.001 MB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.01205, allocations: 271.4 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.01265, allocations: 0.4911 MB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.01295, allocations: 231.1 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.933e-05/0.01305, allocations: 72 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.01326, allocations: 123.8 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01339, allocations: 179.2 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.01364, allocations: 263.2 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.01443, allocations: 0.6767 MB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01443, allocations: 4 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01443, allocations: 0 / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.01445, allocations: 0 / 277.8 MB, free: 12.94 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.0017/0.01615, allocations: 1.185 MB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.01618, allocations: 12.92 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.01641, allocations: 167.3 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.01732, allocations: 0.6047 MB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.01737, allocations: 58 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.01747, allocations: 87.95 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.0187, allocations: 0.815 MB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.01874, allocations: 11.89 kB / 280.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.0188, allocations: 39.94 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.01883, allocations: 23.98 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.0196, allocations: 331.3 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.02312, allocations: 5.568 MB / 286.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.02345, allocations: 228.1 kB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.02356, allocations: 88.33 kB / 287 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.02365, allocations: 24.36 kB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.02367, allocations: 41.77 kB / 287 MB, free: 3.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.02367, allocations: 3.938 kB / 287.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001918/0.02559, allocations: 1.358 MB / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.02561, allocations: 63.91 kB / 288.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.02601, allocations: 0.5735 MB / 289 MB, free: 1.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.02603, allocations: 33.7 kB / 289.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.02625, allocations: 0.522 MB / 289.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.02635, allocations: 218.1 kB / 289.8 MB, free: 336 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.02646, allocations: 148.2 kB / 290 MB, free: 180 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0975/0.124, allocations: 0.55 MB / 290.5 MB, free: 26.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1242, allocations: 92.64 kB / 290.6 MB, free: 26.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1245, allocations: 0.4931 MB / 291.1 MB, free: 25.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.125, allocations: 0.6593 MB / 291.8 MB, free: 25.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.125, allocations: 2.594 kB / 291.8 MB, free: 25.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0008101/0.1258, allocations: 0.6462 MB / 292.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1258, allocations: 9.25 kB / 292.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.1258, allocations: 11 kB / 292.4 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.126, allocations: 48.86 kB / 292.5 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.1264, allocations: 184.6 kB / 292.6 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008291/0.1272, allocations: 2.08 MB / 294.7 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1274, allocations: 31.8 kB / 294.8 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1275, allocations: 35.62 kB / 294.8 MB, free: 23.44 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.0001548/0.1276, allocations: 213.5 kB / 295 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.1277, allocations: 94.89 kB / 295.1 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.1278, allocations: 77.47 kB / 295.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1278, allocations: 5.906 kB / 295.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1278, allocations: 1 kB / 295.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1278, allocations: 3.375 kB / 295.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.129, allocations: 1.151 MB / 296.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.129, allocations: 4.062 kB / 296.3 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.1293, allocations: 111.6 kB / 296.4 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.815e-05/0.1294, allocations: 32.8 kB / 296.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.1294, allocations: 14.97 kB / 296.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000427/0.1298, allocations: 1.732 MB / 298.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1298, allocations: 5.016 kB / 298.2 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.1304, allocations: 0.7132 MB / 298.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.1305, allocations: 66.78 kB / 299 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.1305, allocations: 14.02 kB / 299 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1306, allocations: 13.25 kB / 299 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.1307, allocations: 50.7 kB / 299.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1307, allocations: 18.92 kB / 299.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1309, allocations: 356.5 kB / 299.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1309, allocations: 0 / 299.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000436/0.1314, allocations: 142.1 kB / 299.6 MB, free: 20.57 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.0001083/0.1315, allocations: 117.7 kB / 299.7 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.1321, allocations: 0.5383 MB / 300.2 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1321, allocations: 128 / 300.2 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1323, allocations: 333.9 kB / 300.6 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1327, allocations: 91.67 kB / 300.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1345, allocations: 1.658 MB / 302.3 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.1346, allocations: 160.5 kB / 302.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1348, allocations: 84.61 kB / 302.6 MB, free: 19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.1349, allocations: 59.97 kB / 302.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1349, allocations: 0 / 302.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of Templates: time 0.008877/0.1438, allocations: 5.29 MB / 307.9 MB, free: 17.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.8365143190603703]