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.001101/0.001101, allocations: 101.6 kB / 17.16 MB, free: 6.316 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.00121/0.00121, allocations: 190 kB / 18.07 MB, free: 5.414 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001273/0.001273, allocations: 55.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 46.62 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00492/0.1097, allocations: 2.516 MB / 329.1 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.1105, allocations: 251.1 kB / 329.4 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1108, allocations: 7.938 kB / 329.4 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.111, allocations: 31.77 kB / 329.4 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1113, allocations: 79.31 kB / 329.5 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1115, allocations: 55.95 kB / 329.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.1118, allocations: 302.6 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1121, allocations: 87.89 kB / 329.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1123, allocations: 107.6 kB / 330 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1125, allocations: 127.4 kB / 330.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.1126, allocations: 16 kB / 330.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.1e-05/0.1126, allocations: 16 kB / 330.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.1127, allocations: 51.81 kB / 330.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1129, allocations: 135.3 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.1133, allocations: 310.8 kB / 330.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1133, allocations: 0 / 330.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1133, allocations: 0 / 330.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1133, allocations: 0 / 330.7 MB, free: 0.8281 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.001115/0.1144, allocations: 0.5576 MB / 331.2 MB, free: 224 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.1145, allocations: 12.03 kB / 331.2 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1146, allocations: 32.56 kB / 331.3 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.115, allocations: 255.7 kB / 331.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1151, allocations: 24.94 kB / 331.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.1151, allocations: 24.38 kB / 331.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.1156, allocations: 255.1 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.1156, allocations: 4.188 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1157, allocations: 15.88 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1157, allocations: 8 kB / 331.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.116, allocations: 175.8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.1174, allocations: 0.7539 MB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.1178, allocations: 273 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.118, allocations: 125 kB / 333.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1181, allocations: 8 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1181, allocations: 38.56 kB / 333.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.844e-06/0.1181, allocations: 0 / 333.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002826/0.121, allocations: 1.716 MB / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.121, allocations: 81.11 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1212, allocations: 182.3 kB / 335.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1213, allocations: 33.7 kB / 335.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.1214, allocations: 144.7 kB / 335.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.1215, allocations: 169.5 kB / 335.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1216, allocations: 82.25 kB / 335.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1218, allocations: 338.8 kB / 335.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1219, allocations: 105.1 kB / 336 MB, free: 11.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1221, allocations: 153.5 kB / 336.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1226, allocations: 290.1 kB / 336.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1226, allocations: 0 / 336.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005083/0.1231, allocations: 369.8 kB / 336.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1231, allocations: 4 kB / 336.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1231, allocations: 4 kB / 336.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1231, allocations: 4 kB / 336.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.1235, allocations: 103.9 kB / 336.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1235, allocations: 8 kB / 336.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1237, allocations: 4 kB / 336.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1237, allocations: 16 kB / 336.9 MB, free: 10.07 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.000143/0.1238, allocations: 149.7 kB / 337.1 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.1239, allocations: 35.66 kB / 337.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.124, allocations: 37.86 kB / 337.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.124, allocations: 4 kB / 337.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.124, allocations: 0 / 337.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.124, allocations: 11.98 kB / 337.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1253, allocations: 0.948 MB / 338.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1253, allocations: 3.938 kB / 338.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.1257, allocations: 95.89 kB / 338.2 MB, free: 8.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1258, allocations: 4 kB / 338.2 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.1258, allocations: 12 kB / 338.2 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1258, allocations: 4 kB / 338.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1258, allocations: 0 / 338.2 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.1266, allocations: 0.6512 MB / 338.9 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.1267, allocations: 96.83 kB / 339 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1267, allocations: 12 kB / 339 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1269, allocations: 4 kB / 339 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.127, allocations: 35.81 kB / 339 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.127, allocations: 16 kB / 339.1 MB, free: 7.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1271, allocations: 136.3 kB / 339.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 339.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1275, allocations: 80 kB / 339.3 MB, free: 7.629 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.0001299/0.1276, allocations: 111.2 kB / 339.4 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.1281, allocations: 283.7 kB / 339.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1281, allocations: 7.938 kB / 339.7 MB, free: 7.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1283, allocations: 159.9 kB / 339.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.129, allocations: 59.91 kB / 339.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1307, allocations: 1.12 MB / 341 MB, free: 5.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.131, allocations: 0.7766 MB / 341.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.1311, allocations: 30.95 kB / 341.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.1312, allocations: 27.44 kB / 341.8 MB, free: 5 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1312, allocations: 0 / 341.8 MB, free: 5 MB / 286.1 MB Notification: Performance of Templates: time 0.006418/0.1377, allocations: 2.902 MB / 344.7 MB, free: 2.098 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