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.001443/0.001443, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.78 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09264, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00353/0.0962, allocations: 2.499 MB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005968/0.09682, allocations: 247.1 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.09702, allocations: 7.938 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.09719, allocations: 39.58 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.09739, allocations: 91.2 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.0976, allocations: 71.84 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.09793, allocations: 318.5 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.09815, allocations: 111 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.09828, allocations: 111.6 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.09846, allocations: 131.4 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.09851, allocations: 24 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.09857, allocations: 28 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.09862, allocations: 59.77 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.09876, allocations: 139.3 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.09906, allocations: 315.1 kB / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09907, allocations: 0 / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09908, allocations: 4 kB / 361.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.09909, allocations: 0 / 361.6 MB, free: 9.938 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.0007887/0.09989, allocations: 0.5653 MB / 362.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.09993, allocations: 8.031 kB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.1, allocations: 32.56 kB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1002, allocations: 247.9 kB / 362.5 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1003, allocations: 20.94 kB / 362.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.1003, allocations: 32.22 kB / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.1007, allocations: 251.1 kB / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1008, allocations: 4.172 kB / 362.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.1008, allocations: 19.94 kB / 362.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1008, allocations: 11.94 kB / 362.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.1011, allocations: 171.9 kB / 363 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1021, allocations: 0.7536 MB / 363.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.1025, allocations: 276.2 kB / 364 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1027, allocations: 126.2 kB / 364.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1027, allocations: 7.906 kB / 364.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1028, allocations: 38.56 kB / 364.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.1028, allocations: 3.938 kB / 364.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002548/0.1053, allocations: 1.703 MB / 365.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1054, allocations: 81.11 kB / 366 MB, free: 5.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1055, allocations: 186.1 kB / 366.1 MB, free: 5.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1056, allocations: 33.7 kB / 366.2 MB, free: 5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.1057, allocations: 140.6 kB / 366.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1058, allocations: 173.5 kB / 366.5 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.1059, allocations: 74.27 kB / 366.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.106, allocations: 346.8 kB / 366.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1062, allocations: 101.1 kB / 367 MB, free: 4.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1064, allocations: 157.5 kB / 367.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.1068, allocations: 275.8 kB / 367.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1068, allocations: 0 / 367.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005165/0.1073, allocations: 377.8 kB / 367.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1073, allocations: 7.938 kB / 367.8 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1074, allocations: 8 kB / 367.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1074, allocations: 0 / 367.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.1078, allocations: 103.9 kB / 367.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1078, allocations: 0 / 367.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1079, allocations: 12 kB / 367.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1079, allocations: 16 kB / 367.9 MB, free: 3.191 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.0001474/0.1081, allocations: 153.8 kB / 368.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1082, allocations: 35.56 kB / 368.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.253e-05/0.1082, allocations: 41.86 kB / 368.1 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1083, allocations: 4 kB / 368.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1083, allocations: 0 / 368.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1083, allocations: 7.984 kB / 368.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1095, allocations: 0.9412 MB / 369.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1095, allocations: 3.938 kB / 369.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.1099, allocations: 95.89 kB / 369.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1099, allocations: 7.984 kB / 369.2 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.11, allocations: 8.062 kB / 369.2 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.11, allocations: 8 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.11, allocations: 7.875 kB / 369.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.1107, allocations: 0.6471 MB / 369.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.1108, allocations: 104.7 kB / 370 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1108, allocations: 8 kB / 370 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.111, allocations: 12 kB / 370 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1111, allocations: 23.97 kB / 370 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1111, allocations: 16 kB / 370 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.1112, allocations: 131.2 kB / 370.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1112, allocations: 0 / 370.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1116, allocations: 80 kB / 370.2 MB, free: 0.7461 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.0001122/0.1117, allocations: 119.3 kB / 370.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.1122, allocations: 314.6 kB / 370.7 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1122, allocations: 0 / 370.7 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1124, allocations: 158.8 kB / 370.8 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.1131, allocations: 60.16 kB / 370.9 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1444/0.2575, allocations: 0.9904 MB / 371.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2578, allocations: 0.7751 MB / 372.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.2579, allocations: 37.31 kB / 372.7 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.258, allocations: 28.16 kB / 372.7 MB, free: 19.11 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.258, allocations: 0 / 372.7 MB, free: 19.11 MB / 302.1 MB Notification: Performance of Templates: time 0.006516/0.2645, allocations: 3.059 MB / 375.8 MB, free: 18.94 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