Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 99.56 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 182.5 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004554, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002673/0.1102, allocations: 2.054 MB / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.1106, allocations: 251.1 kB / 330.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1108, allocations: 4 kB / 330.7 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1109, allocations: 35.7 kB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.111, allocations: 71.39 kB / 330.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1112, allocations: 51.88 kB / 330.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.1115, allocations: 298.5 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.1117, allocations: 85.64 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1119, allocations: 91.66 kB / 331.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.112, allocations: 119.5 kB / 331.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.1121, allocations: 16 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.1121, allocations: 12 kB / 331.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.1122, allocations: 43.84 kB / 331.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.1122, allocations: 81.52 kB / 331.5 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1125, allocations: 227.6 kB / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1125, allocations: 0 / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1125, allocations: 0 / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1125, allocations: 0 / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007668/0.1133, allocations: 0.5262 MB / 332.3 MB, free: 84 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1133, allocations: 12.03 kB / 332.3 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.1134, allocations: 31.62 kB / 332.3 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1136, allocations: 234.7 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1137, allocations: 24.52 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.1137, allocations: 27.91 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1142, allocations: 258.5 kB / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1143, allocations: 0 / 332.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.1143, allocations: 12 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1143, allocations: 4 kB / 332.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.1146, allocations: 179.8 kB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.1156, allocations: 0.7539 MB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.116, allocations: 277.2 kB / 334.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1162, allocations: 121.7 kB / 334.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1162, allocations: 4 kB / 334.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1163, allocations: 46.5 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.373e-06/0.1163, allocations: 0 / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002711/0.119, allocations: 1.704 MB / 335.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.119, allocations: 85.05 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1192, allocations: 182.2 kB / 336.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1193, allocations: 33.7 kB / 336.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1194, allocations: 140.8 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1195, allocations: 173.4 kB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.1195, allocations: 12 kB / 336.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1197, allocations: 338.8 kB / 336.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1198, allocations: 101.1 kB / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1201, allocations: 153.5 kB / 337.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1203, allocations: 138.3 kB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1203, allocations: 0 / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005701/0.1209, allocations: 366.3 kB / 337.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1209, allocations: 4 kB / 337.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1209, allocations: 4 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1209, allocations: 4 kB / 337.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.1213, allocations: 95.89 kB / 337.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1214, allocations: 4 kB / 337.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.1215, allocations: 8 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.1215, allocations: 20.06 kB / 337.8 MB, free: 10.2 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.1217, allocations: 157.6 kB / 337.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.1218, allocations: 35.58 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.196e-05/0.1219, allocations: 37.88 kB / 338 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1219, allocations: 4 kB / 338 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.1219, allocations: 4 kB / 338 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1219, allocations: 3.984 kB / 338 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1232, allocations: 0.9439 MB / 339 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1232, allocations: 8.062 kB / 339 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.1236, allocations: 91.91 kB / 339 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1236, allocations: 7.938 kB / 339.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.1236, allocations: 15.94 kB / 339.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1236, allocations: 7.938 kB / 339.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1236, allocations: 0 / 339.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.1244, allocations: 0.6318 MB / 339.7 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1246, allocations: 100.7 kB / 339.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.1246, allocations: 12 kB / 339.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1248, allocations: 11.95 kB / 339.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1248, allocations: 31.89 kB / 339.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1248, allocations: 16 kB / 339.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.125, allocations: 136.3 kB / 340 MB, free: 7.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.125, allocations: 0 / 340 MB, free: 7.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.1254, allocations: 84 kB / 340.1 MB, free: 7.758 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.1255, allocations: 111.3 kB / 340.2 MB, free: 7.641 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.126, allocations: 286.7 kB / 340.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.126, allocations: 0 / 340.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.1262, allocations: 156.6 kB / 340.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.1268, allocations: 64.2 kB / 340.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1285, allocations: 1.215 MB / 341.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1289, allocations: 0.7728 MB / 342.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1291, allocations: 34.95 kB / 342.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.1291, allocations: 31.44 kB / 342.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1291, allocations: 3.938 kB / 342.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of Templates: time 0.00592/0.1351, allocations: 2.768 MB / 345.5 MB, free: 2.262 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches