Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001865/0.001865, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00222/0.00222, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.48e-05/4.631e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006741/0.006788, allocations: 4.13 MB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.009857, allocations: 1.356 MB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.01028, allocations: 35.69 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.01074, allocations: 178.2 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.01118, allocations: 182.2 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.01214, allocations: 379.3 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.01343, allocations: 0.9973 MB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.01397, allocations: 275.3 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008228/0.0148, allocations: 0.4989 MB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.01518, allocations: 235.1 kB / 280.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.0153, allocations: 72 kB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.01555, allocations: 115.9 kB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.01573, allocations: 183.2 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.01605, allocations: 263.2 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.01743, allocations: 1.098 MB / 282.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01744, allocations: 0 / 282.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01744, allocations: 0 / 282.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.01745, allocations: 0 / 282.3 MB, free: 7.84 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.002082/0.01953, allocations: 1.085 MB / 283.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.01958, allocations: 12.03 kB / 283.4 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.01998, allocations: 183.3 kB / 283.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.02112, allocations: 0.6059 MB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/0.02119, allocations: 58 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.02133, allocations: 87.94 kB / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.02298, allocations: 0.8403 MB / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.02302, allocations: 7.984 kB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.0231, allocations: 35.94 kB / 285.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.02312, allocations: 24 kB / 285.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.02414, allocations: 475.2 kB / 285.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1179/0.1421, allocations: 4.102 MB / 289.7 MB, free: 27.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.1428, allocations: 275 kB / 290 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.143, allocations: 133.7 kB / 290.1 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.1432, allocations: 17.95 kB / 290.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1432, allocations: 36.94 kB / 290.2 MB, free: 27.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.454e-06/0.1432, allocations: 0 / 290.2 MB, free: 27.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003281/0.1465, allocations: 1.613 MB / 291.8 MB, free: 27.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1465, allocations: 63.17 kB / 291.9 MB, free: 27.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.1472, allocations: 0.555 MB / 292.4 MB, free: 26.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1472, allocations: 33.62 kB / 292.5 MB, free: 26.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.1475, allocations: 488.9 kB / 292.9 MB, free: 26.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1476, allocations: 220.4 kB / 293.2 MB, free: 26.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1478, allocations: 145 kB / 293.3 MB, free: 26.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1479, allocations: 381.7 kB / 293.7 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.1482, allocations: 164.9 kB / 293.8 MB, free: 26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.1487, allocations: 461.8 kB / 294.3 MB, free: 25.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.1494, allocations: 0.6673 MB / 295 MB, free: 25.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1494, allocations: 2.531 kB / 295 MB, free: 25.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001204/0.1506, allocations: 0.7799 MB / 295.7 MB, free: 24.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.1506, allocations: 14.27 kB / 295.7 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1506, allocations: 9.812 kB / 295.8 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.1509, allocations: 48.95 kB / 295.8 MB, free: 24.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.1514, allocations: 184.2 kB / 296 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1525, allocations: 1.559 MB / 297.5 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.1528, allocations: 29.45 kB / 297.6 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.1528, allocations: 38.61 kB / 297.6 MB, free: 23.2 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.0002919/0.1531, allocations: 228.8 kB / 297.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1533, allocations: 92.44 kB / 297.9 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.1534, allocations: 73.62 kB / 298 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1534, allocations: 10.08 kB / 298 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.1534, allocations: 5.188 kB / 298 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1534, allocations: 6.516 kB / 298 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1552, allocations: 1.188 MB / 299.2 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1552, allocations: 3.75 kB / 299.2 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.1557, allocations: 117.3 kB / 299.3 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.733e-05/0.1558, allocations: 31.72 kB / 299.4 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1558, allocations: 15.48 kB / 299.4 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/0.1565, allocations: 1.24 MB / 300.6 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.1565, allocations: 3.719 kB / 300.6 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1575, allocations: 0.7935 MB / 301.4 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.1576, allocations: 66.53 kB / 301.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1576, allocations: 14.09 kB / 301.5 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1578, allocations: 13.45 kB / 301.5 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.1579, allocations: 47.12 kB / 301.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.158, allocations: 21.89 kB / 301.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004141/0.1584, allocations: 360.9 kB / 301.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 0.8125 kB / 301.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.1591, allocations: 142.1 kB / 302.1 MB, free: 20.21 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.000126/0.1592, allocations: 119.6 kB / 302.2 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.1602, allocations: 0.5664 MB / 302.7 MB, free: 19.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1602, allocations: 0 / 302.7 MB, free: 19.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.1605, allocations: 300.7 kB / 303 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.1611, allocations: 103.5 kB / 303.1 MB, free: 19.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.1634, allocations: 1.676 MB / 304.8 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1638, allocations: 375.5 kB / 305.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1641, allocations: 84.64 kB / 305.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1642, allocations: 66.09 kB / 305.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1642, allocations: 0 / 305.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01042/0.1746, allocations: 5.266 MB / 310.6 MB, free: 15.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.611160695902072]