Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.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_4.0.0_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_4.0.0_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.001286/0.001286, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001217/0.001217, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 51.39 kB / 300.6 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 49.44 MB / 350.1 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003923/0.1079, allocations: 2.532 MB / 352.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.1085, allocations: 255.1 kB / 352.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.1087, allocations: 4 kB / 352.8 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.109, allocations: 31.7 kB / 352.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1092, allocations: 83.38 kB / 352.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1094, allocations: 51.95 kB / 353 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.1098, allocations: 310.5 kB / 353.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.11, allocations: 83.67 kB / 353.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1101, allocations: 103.6 kB / 353.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1103, allocations: 135.4 kB / 353.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.1104, allocations: 16 kB / 353.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.1104, allocations: 16 kB / 353.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1105, allocations: 43.84 kB / 353.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1106, allocations: 143.2 kB / 353.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1109, allocations: 231.7 kB / 354.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1109, allocations: 4 kB / 354.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1109, allocations: 0 / 354.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1109, allocations: 0 / 354.1 MB, free: 0.793 MB / 286.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.0009002/0.1118, allocations: 0.5652 MB / 354.6 MB, free: 180 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1119, allocations: 8.031 kB / 354.6 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.112, allocations: 28.66 kB / 354.7 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1123, allocations: 247.7 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1123, allocations: 20.94 kB / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.1124, allocations: 28.36 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.1128, allocations: 247.2 kB / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1129, allocations: 8.094 kB / 355.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1129, allocations: 15.94 kB / 355.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1129, allocations: 11.94 kB / 355.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1132, allocations: 179.8 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1143, allocations: 0.7458 MB / 356.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.1148, allocations: 288.4 kB / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.115, allocations: 129.7 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.115, allocations: 4 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.115, allocations: 35.19 kB / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.1151, allocations: 0 / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002756/0.1178, allocations: 1.721 MB / 358.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1179, allocations: 89.05 kB / 358.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1181, allocations: 182.2 kB / 358.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1181, allocations: 33.7 kB / 358.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.1182, allocations: 136.7 kB / 358.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1183, allocations: 173.5 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1184, allocations: 74.27 kB / 359 MB, free: 11.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1186, allocations: 342.8 kB / 359.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1188, allocations: 105.1 kB / 359.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.119, allocations: 157.5 kB / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.1194, allocations: 278.2 kB / 359.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1194, allocations: 0 / 359.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005341/0.12, allocations: 377.7 kB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.12, allocations: 4 kB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.12, allocations: 4 kB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.12, allocations: 0 / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.1204, allocations: 103.9 kB / 360.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1204, allocations: 0 / 360.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1206, allocations: 12 kB / 360.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1206, allocations: 16 kB / 360.4 MB, free: 10.05 MB / 302.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.0001382/0.1207, allocations: 153.7 kB / 360.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.1208, allocations: 35.72 kB / 360.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.1209, allocations: 41.86 kB / 360.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1209, allocations: 4 kB / 360.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1209, allocations: 0 / 360.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.121, allocations: 4 kB / 360.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1222, allocations: 0.9509 MB / 361.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1223, allocations: 3.938 kB / 361.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.1227, allocations: 95.89 kB / 361.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1227, allocations: 4 kB / 361.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.1227, allocations: 15.94 kB / 361.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1227, allocations: 4 kB / 361.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1227, allocations: 8 kB / 361.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.1235, allocations: 0.6394 MB / 362.3 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.1236, allocations: 96.83 kB / 362.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.1236, allocations: 19.92 kB / 362.4 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1238, allocations: 8 kB / 362.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1239, allocations: 31.91 kB / 362.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1239, allocations: 12 kB / 362.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.124, allocations: 136.3 kB / 362.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 0 / 362.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1244, allocations: 80 kB / 362.7 MB, free: 7.605 MB / 302.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.0001422/0.1246, allocations: 107.2 kB / 362.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.125, allocations: 290.8 kB / 363.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.125, allocations: 0 / 363.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1252, allocations: 162.5 kB / 363.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.1259, allocations: 67.88 kB / 363.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1277, allocations: 1.149 MB / 364.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1281, allocations: 0.7767 MB / 365.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.1282, allocations: 31.44 kB / 365.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1282, allocations: 0 / 365.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of Templates: time 0.006175/0.1344, allocations: 3.684 MB / 368.9 MB, free: 1.277 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches