Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 101.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 60.28 kB / 306.3 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09939, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003367/0.1028, allocations: 2.533 MB / 359.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.1032, allocations: 259 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.1033, allocations: 8 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1035, allocations: 31.77 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1036, allocations: 79.31 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1038, allocations: 55.95 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.1041, allocations: 310.5 kB / 360 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1042, allocations: 95.56 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.185e-05/0.1043, allocations: 103.6 kB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1045, allocations: 127.4 kB / 360.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1045, allocations: 16 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.312e-05/0.1046, allocations: 16 kB / 360.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.1046, allocations: 51.83 kB / 360.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1047, allocations: 143.3 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.105, allocations: 299.2 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.105, allocations: 0 / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.105, allocations: 0 / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.105, allocations: 0 / 360.9 MB, free: 10.4 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.0007693/0.1058, allocations: 0.5678 MB / 361.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1059, allocations: 8.031 kB / 361.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1059, allocations: 36.56 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1062, allocations: 255.8 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1062, allocations: 16.94 kB / 361.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.1062, allocations: 32.28 kB / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.1066, allocations: 255.1 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1067, allocations: 8.188 kB / 362 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1067, allocations: 15.94 kB / 362.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1067, allocations: 4 kB / 362.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.107, allocations: 171.9 kB / 362.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.108, allocations: 0.7458 MB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.1084, allocations: 281 kB / 363.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1086, allocations: 126.3 kB / 363.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1086, allocations: 7.906 kB / 363.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1087, allocations: 38.5 kB / 363.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.482e-06/0.1087, allocations: 0 / 363.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002625/0.1113, allocations: 1.702 MB / 365.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1114, allocations: 81.11 kB / 365.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1115, allocations: 190.1 kB / 365.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1116, allocations: 33.7 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.1117, allocations: 144.6 kB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1118, allocations: 177.4 kB / 365.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.1119, allocations: 74.25 kB / 365.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.112, allocations: 342.8 kB / 366.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1122, allocations: 101.1 kB / 366.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.1124, allocations: 153.5 kB / 366.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.1128, allocations: 282.9 kB / 366.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1128, allocations: 0 / 366.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005365/0.1134, allocations: 377.8 kB / 367 MB, free: 3.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1134, allocations: 4 kB / 367 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1134, allocations: 0 / 367 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1134, allocations: 4 kB / 367 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.1138, allocations: 103.8 kB / 367.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1138, allocations: 4 kB / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1139, allocations: 12 kB / 367.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.114, allocations: 12 kB / 367.2 MB, free: 3.652 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.0001534/0.1141, allocations: 161.8 kB / 367.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.47e-05/0.1142, allocations: 31.56 kB / 367.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.1143, allocations: 37.86 kB / 367.4 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1143, allocations: 8 kB / 367.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1143, allocations: 0 / 367.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1143, allocations: 3.984 kB / 367.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.1156, allocations: 0.9469 MB / 368.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1156, allocations: 7.938 kB / 368.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.116, allocations: 95.89 kB / 368.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1161, allocations: 4 kB / 368.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1161, allocations: 12.06 kB / 368.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1161, allocations: 4 kB / 368.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1161, allocations: 0 / 368.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.1169, allocations: 0.6549 MB / 369.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.1169, allocations: 100.7 kB / 369.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.117, allocations: 16 kB / 369.2 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1172, allocations: 8 kB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1172, allocations: 23.97 kB / 369.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.1172, allocations: 15.98 kB / 369.3 MB, free: 1.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1174, allocations: 131.2 kB / 369.4 MB, free: 1.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1174, allocations: 4 kB / 369.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1177, allocations: 76 kB / 369.5 MB, free: 1.207 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.0001022/0.1178, allocations: 118.6 kB / 369.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1183, allocations: 295.5 kB / 369.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1183, allocations: 0 / 369.9 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.1185, allocations: 159.6 kB / 370.1 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1191, allocations: 60.16 kB / 370.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1374/0.2565, allocations: 1.11 MB / 371.2 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2568, allocations: 0.7744 MB / 372 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2569, allocations: 36.45 kB / 372 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.257, allocations: 27.56 kB / 372.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.257, allocations: 0.7188 kB / 372.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of Templates: time 0.006306/0.2634, allocations: 2.898 MB / 375 MB, free: 19.19 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches