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.001012/0.001012, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.00103/0.00103, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.601/1.601, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004654/0.0004653, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002324/0.1049, allocations: 2.146 MB / 331.1 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004431/0.1054, allocations: 251 kB / 331.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1055, allocations: 4 kB / 331.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1057, allocations: 35.69 kB / 331.4 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1058, allocations: 75.39 kB / 331.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.106, allocations: 55.89 kB / 331.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1063, allocations: 306.5 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1065, allocations: 83.97 kB / 331.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.1066, allocations: 99.58 kB / 332 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1067, allocations: 123.4 kB / 332.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1068, allocations: 16 kB / 332.1 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.1068, allocations: 12 kB / 332.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.1069, allocations: 43.78 kB / 332.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.107, allocations: 160.9 kB / 332.3 MB, free: 364 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1072, allocations: 298.8 kB / 332.6 MB, free: 64 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1073, allocations: 4 kB / 332.6 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1073, allocations: 0 / 332.6 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1073, allocations: 0 / 332.6 MB, free: 60 kB / 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.0007413/0.108, allocations: 0.5186 MB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1081, allocations: 15.97 kB / 333.2 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.1081, allocations: 32.56 kB / 333.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1084, allocations: 247.8 kB / 333.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1084, allocations: 24.88 kB / 333.5 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.1085, allocations: 32.27 kB / 333.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1089, allocations: 251.1 kB / 333.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1089, allocations: 4.188 kB / 333.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1089, allocations: 15.94 kB / 333.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1089, allocations: 8 kB / 333.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1092, allocations: 175.8 kB / 334 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.1102, allocations: 0.75 MB / 334.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1106, allocations: 277 kB / 335 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1108, allocations: 129.6 kB / 335.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1109, allocations: 4 kB / 335.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1109, allocations: 42.55 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.392e-06/0.1109, allocations: 0 / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002619/0.1135, allocations: 1.715 MB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1136, allocations: 81.11 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1137, allocations: 182.3 kB / 337.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1138, allocations: 33.7 kB / 337.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.1139, allocations: 136.7 kB / 337.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.114, allocations: 177.4 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1141, allocations: 45.7 kB / 337.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1142, allocations: 338.8 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.1144, allocations: 105.1 kB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.1146, allocations: 153.5 kB / 338.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.115, allocations: 290.1 kB / 338.4 MB, free: 9.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.115, allocations: 4 kB / 338.4 MB, free: 9.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005025/0.1155, allocations: 365.8 kB / 338.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1155, allocations: 8 kB / 338.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1155, allocations: 0 / 338.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1156, allocations: 4 kB / 338.7 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.1159, allocations: 95.91 kB / 338.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1159, allocations: 7.984 kB / 338.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1161, allocations: 11.94 kB / 338.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1161, allocations: 12 kB / 338.9 MB, free: 9.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.1164, allocations: 165.7 kB / 339 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.1164, allocations: 31.56 kB / 339.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.1165, allocations: 37.86 kB / 339.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1165, allocations: 8 kB / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1165, allocations: 0 / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1166, allocations: 0 / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1178, allocations: 0.9478 MB / 340 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1178, allocations: 3.938 kB / 340.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.1182, allocations: 99.95 kB / 340.2 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1183, allocations: 4 kB / 340.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1183, allocations: 12 kB / 340.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1183, allocations: 7.938 kB / 340.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1183, allocations: 4 kB / 340.2 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.1191, allocations: 0.6395 MB / 340.8 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1191, allocations: 100.7 kB / 340.9 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.1192, allocations: 15.98 kB / 340.9 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1193, allocations: 4 kB / 340.9 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.1194, allocations: 35.77 kB / 341 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1194, allocations: 12 kB / 341 MB, free: 7.137 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.1195, allocations: 136.3 kB / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1195, allocations: 0 / 341.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1199, allocations: 80 kB / 341.2 MB, free: 6.926 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.12, allocations: 111.3 kB / 341.3 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1205, allocations: 287.8 kB / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1205, allocations: 0 / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.1207, allocations: 156.4 kB / 341.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.1214, allocations: 68.14 kB / 341.8 MB, free: 6.312 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1232, allocations: 1.242 MB / 343 MB, free: 5.035 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1237, allocations: 0.7767 MB / 343.8 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1238, allocations: 38.95 kB / 343.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.1239, allocations: 27.44 kB / 343.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1239, allocations: 0 / 343.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of Templates: time 0.006562/0.1305, allocations: 2.882 MB / 346.8 MB, free: 1.285 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