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.001094/0.001094, allocations: 112.1 kB / 17.68 MB, free: 5.473 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.001207/0.001207, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009631/0.0009631, allocations: 54.22 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09555, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003761/0.09935, allocations: 2.497 MB / 354 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.09983, allocations: 255 kB / 354.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.09995, allocations: 4 kB / 354.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1001, allocations: 43.58 kB / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1003, allocations: 91.12 kB / 354.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1005, allocations: 67.91 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1008, allocations: 310.6 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.101, allocations: 99.11 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1011, allocations: 127.5 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1013, allocations: 131.4 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1013, allocations: 24 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.1014, allocations: 28 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.1014, allocations: 55.83 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1016, allocations: 143.3 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1019, allocations: 314.9 kB / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1019, allocations: 0 / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1019, allocations: 0 / 355.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1019, allocations: 0 / 355.6 MB, free: 15.53 MB / 302.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.0008177/0.1027, allocations: 0.5691 MB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1028, allocations: 8.031 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.1028, allocations: 32.64 kB / 356.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1032, allocations: 256.2 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1032, allocations: 24.94 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.1032, allocations: 24.38 kB / 356.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1036, allocations: 247.2 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1037, allocations: 12.08 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1037, allocations: 15.94 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1037, allocations: 8 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.104, allocations: 175.8 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/0.105, allocations: 0.738 MB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.1054, allocations: 281 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1056, allocations: 121.7 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1056, allocations: 4 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1056, allocations: 39.19 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.1056, allocations: 0 / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002483/0.1081, allocations: 1.712 MB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1082, allocations: 85.11 kB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1084, allocations: 186.1 kB / 360.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1084, allocations: 33.7 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.1085, allocations: 140.7 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1086, allocations: 169.5 kB / 360.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.1087, allocations: 78.27 kB / 360.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1088, allocations: 342.7 kB / 360.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.109, allocations: 101.1 kB / 361 MB, free: 9.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1092, allocations: 161.5 kB / 361.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.1096, allocations: 280 kB / 361.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1096, allocations: 0 / 361.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004991/0.1101, allocations: 381.7 kB / 361.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1101, allocations: 8 kB / 361.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1102, allocations: 4.062 kB / 361.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1102, allocations: 4 kB / 361.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1105, allocations: 99.89 kB / 361.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1106, allocations: 4 kB / 361.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1107, allocations: 4 kB / 361.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1107, allocations: 16 kB / 361.9 MB, free: 8.781 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.0001354/0.1108, allocations: 154.2 kB / 362.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.1109, allocations: 35.66 kB / 362.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.111, allocations: 41.86 kB / 362.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.111, allocations: 4 kB / 362.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.111, allocations: 4 kB / 362.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.111, allocations: 3.984 kB / 362.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.1122, allocations: 0.9472 MB / 363.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1122, allocations: 64 / 363.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.1126, allocations: 103.8 kB / 363.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1127, allocations: 4 kB / 363.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1127, allocations: 15.94 kB / 363.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1127, allocations: 0 / 363.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1127, allocations: 4 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.1134, allocations: 0.6318 MB / 363.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1135, allocations: 104.8 kB / 364 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1135, allocations: 12 kB / 364 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1137, allocations: 8 kB / 364 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1138, allocations: 27.91 kB / 364 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1138, allocations: 12 kB / 364 MB, free: 6.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1139, allocations: 140.3 kB / 364.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1139, allocations: 0 / 364.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.1143, allocations: 83.94 kB / 364.3 MB, free: 6.348 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.0001066/0.1144, allocations: 111.2 kB / 364.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.1148, allocations: 290.7 kB / 364.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1149, allocations: 7.938 kB / 364.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.1151, allocations: 158.6 kB / 364.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.1156, allocations: 68.3 kB / 364.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.117, allocations: 1.008 MB / 365.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1173, allocations: 0.7764 MB / 366.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1175, allocations: 38.95 kB / 366.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.1175, allocations: 27.44 kB / 366.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1175, allocations: 0 / 366.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of Templates: time 0.006079/0.1236, allocations: 3.046 MB / 369.8 MB, free: 0.7852 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 -s gbode -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