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.0009724/0.0009725, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 11.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002468, allocations: 8 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09349, allocations: 51.51 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002473/0.096, allocations: 2.183 MB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.0966, allocations: 251 kB / 362.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.09681, allocations: 4 kB / 362.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.09696, allocations: 27.77 kB / 362.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.09718, allocations: 83.31 kB / 362.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.09738, allocations: 51.89 kB / 362.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.09772, allocations: 318.5 kB / 362.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.09792, allocations: 83.58 kB / 362.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09805, allocations: 99.58 kB / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.09822, allocations: 123.4 kB / 363.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.09827, allocations: 16 kB / 363.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.09831, allocations: 12 kB / 363.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.09836, allocations: 43.83 kB / 363.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.09851, allocations: 164.9 kB / 363.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.09873, allocations: 231.6 kB / 363.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09874, allocations: 0 / 363.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09875, allocations: 0 / 363.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.09876, allocations: 0 / 363.6 MB, free: 9.609 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.0006989/0.09946, allocations: 0.5108 MB / 364.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09951, allocations: 12.02 kB / 364.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.09958, allocations: 32.66 kB / 364.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.09983, allocations: 255.7 kB / 364.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.09987, allocations: 24.94 kB / 364.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.09992, allocations: 28.38 kB / 364.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.1003, allocations: 255.1 kB / 364.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1004, allocations: 12.08 kB / 364.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1004, allocations: 11.94 kB / 364.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1004, allocations: 8 kB / 364.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1007, allocations: 171.9 kB / 364.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1018, allocations: 0.7497 MB / 365.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.1021, allocations: 277 kB / 365.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1023, allocations: 129.7 kB / 366 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1024, allocations: 8 kB / 366 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1024, allocations: 35.19 kB / 366.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.724e-06/0.1024, allocations: 3.938 kB / 366.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002542/0.105, allocations: 1.718 MB / 367.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.105, allocations: 85.05 kB / 367.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1052, allocations: 194.1 kB / 368 MB, free: 4.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1052, allocations: 37.7 kB / 368.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1053, allocations: 140.6 kB / 368.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1054, allocations: 173.5 kB / 368.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.1055, allocations: 41.7 kB / 368.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1056, allocations: 338.8 kB / 368.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1058, allocations: 105.1 kB / 368.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.106, allocations: 161.5 kB / 369 MB, free: 3.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1064, allocations: 276.7 kB / 369.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1064, allocations: 4 kB / 369.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004988/0.1069, allocations: 369.8 kB / 369.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1069, allocations: 8 kB / 369.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1069, allocations: 64 / 369.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1069, allocations: 8 kB / 369.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.1073, allocations: 103.8 kB / 369.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1074, allocations: 4 kB / 369.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1075, allocations: 8 kB / 369.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1075, allocations: 16 kB / 369.8 MB, free: 2.922 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.000142/0.1077, allocations: 145.8 kB / 369.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.1077, allocations: 31.66 kB / 370 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/0.1078, allocations: 41.86 kB / 370 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1078, allocations: 8 kB / 370 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1079, allocations: 4 kB / 370 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1079, allocations: 3.938 kB / 370 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1091, allocations: 0.9476 MB / 371 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1091, allocations: 3.938 kB / 371 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.1095, allocations: 95.89 kB / 371.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.1096, allocations: 4 kB / 371.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1096, allocations: 11.98 kB / 371.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1096, allocations: 4 kB / 371.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1096, allocations: 0 / 371.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.1103, allocations: 0.6543 MB / 371.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.1104, allocations: 104.8 kB / 371.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.1104, allocations: 7.938 kB / 371.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1106, allocations: 12 kB / 371.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1107, allocations: 27.97 kB / 371.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1107, allocations: 12 kB / 371.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.36e-05/0.1108, allocations: 131.2 kB / 372 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1108, allocations: 0 / 372 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1112, allocations: 76 kB / 372.1 MB, free: 500 kB / 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.0001227/0.1113, allocations: 115.1 kB / 372.2 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1117, allocations: 291.8 kB / 372.5 MB, free: 88 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1117, allocations: 8 kB / 372.5 MB, free: 80 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1524/0.2641, allocations: 148.6 kB / 372.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008295/0.265, allocations: 59.03 kB / 372.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2666, allocations: 1.28 MB / 374 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2668, allocations: 0.775 MB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.2669, allocations: 30 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.267, allocations: 0 / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006626/0.2736, allocations: 3.644 MB / 378.4 MB, free: 17.71 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/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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches