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.0009455/0.0009455, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009887/0.000989, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.373/1.373, allocations: 223.2 MB / 241.2 MB, free: 5.195 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002394/0.0002395, allocations: 11.53 kB / 300.8 MB, free: 5.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09852, allocations: 50.42 MB / 351.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002454/0.101, allocations: 2.08 MB / 353.3 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.1015, allocations: 243.1 kB / 353.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1016, allocations: 4 kB / 353.6 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1017, allocations: 39.69 kB / 353.6 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1019, allocations: 79.38 kB / 353.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.102, allocations: 51.94 kB / 353.7 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.1023, allocations: 294.5 kB / 354 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.1025, allocations: 77.7 kB / 354.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1026, allocations: 95.64 kB / 354.2 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1028, allocations: 111.5 kB / 354.3 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1028, allocations: 19.94 kB / 354.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.1029, allocations: 12 kB / 354.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.1029, allocations: 47.81 kB / 354.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.103, allocations: 77.52 kB / 354.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1032, allocations: 223.3 kB / 354.7 MB, free: 7.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1032, allocations: 4 kB / 354.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1032, allocations: 0 / 354.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1033, allocations: 4 kB / 354.7 MB, free: 7.902 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.0007301/0.104, allocations: 0.5222 MB / 355.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.104, allocations: 12.03 kB / 355.2 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/0.1041, allocations: 31.67 kB / 355.2 MB, free: 7.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1044, allocations: 242.6 kB / 355.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1044, allocations: 16.56 kB / 355.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.1045, allocations: 35.98 kB / 355.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.1049, allocations: 250.5 kB / 355.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1049, allocations: 3.984 kB / 355.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1049, allocations: 12 kB / 355.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.105, allocations: 8 kB / 355.8 MB, free: 6.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.1053, allocations: 183.8 kB / 356 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1063, allocations: 0.7459 MB / 356.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.1067, allocations: 273 kB / 357 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1069, allocations: 129.7 kB / 357.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1069, allocations: 7.953 kB / 357.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1069, allocations: 38.5 kB / 357.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.383e-06/0.1069, allocations: 0 / 357.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.00244/0.1094, allocations: 1.711 MB / 358.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1094, allocations: 97 kB / 359 MB, free: 3.238 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1096, allocations: 182.1 kB / 359.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1096, allocations: 33.7 kB / 359.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.1097, allocations: 144.7 kB / 359.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1099, allocations: 173.4 kB / 359.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.1099, allocations: 8 kB / 359.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.11, allocations: 338.8 kB / 359.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1102, allocations: 105.1 kB / 359.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1104, allocations: 153.5 kB / 360.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1106, allocations: 126.3 kB / 360.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1106, allocations: 3.938 kB / 360.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004908/0.1111, allocations: 370.5 kB / 360.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1112, allocations: 8.062 kB / 360.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1112, allocations: 0 / 360.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1112, allocations: 4 kB / 360.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1116, allocations: 99.89 kB / 360.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1116, allocations: 7.953 kB / 360.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1117, allocations: 12 kB / 360.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1117, allocations: 12 kB / 360.7 MB, free: 1.438 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.0001556/0.1119, allocations: 153.7 kB / 360.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.112, allocations: 23.72 kB / 360.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.1121, allocations: 41.86 kB / 360.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1121, allocations: 8 kB / 360.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1121, allocations: 4 kB / 360.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1121, allocations: 3.953 kB / 360.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1133, allocations: 0.9537 MB / 361.9 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1133, allocations: 0 / 361.9 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.1137, allocations: 95.89 kB / 362 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.1137, allocations: 7.938 kB / 362 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1138, allocations: 11.94 kB / 362 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1138, allocations: 0 / 362 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1138, allocations: 8.062 kB / 362 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.1145, allocations: 0.6356 MB / 362.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.1146, allocations: 104.8 kB / 362.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1146, allocations: 8 kB / 362.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1148, allocations: 12 kB / 362.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1148, allocations: 31.91 kB / 362.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1149, allocations: 8 kB / 362.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.115, allocations: 136.3 kB / 362.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.115, allocations: 0 / 362.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1153, allocations: 76 kB / 363 MB, free: 15.02 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 (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.0001359/0.1155, allocations: 119.1 kB / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.1159, allocations: 294.7 kB / 363.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.116, allocations: 0 / 363.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.1162, allocations: 156.7 kB / 363.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.1168, allocations: 55.95 kB / 363.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1184, allocations: 1.215 MB / 364.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1187, allocations: 0.7767 MB / 365.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1189, allocations: 30.97 kB / 365.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1189, allocations: 31.44 kB / 365.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1189, allocations: 0 / 365.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.006148/0.1251, allocations: 2.766 MB / 368.4 MB, free: 9.527 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/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