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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009342/0.0009341, allocations: 109.2 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009387/0.0009388, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1977, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002951/0.2007, allocations: 2.53 MB / 409.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005465/0.2013, allocations: 256.3 kB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2015, allocations: 4 kB / 409.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.2017, allocations: 31.7 kB / 409.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2019, allocations: 83.38 kB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.202, allocations: 55.95 kB / 410 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.2023, allocations: 310.5 kB / 410.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.2024, allocations: 89.19 kB / 410.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.2025, allocations: 115.6 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2026, allocations: 123.4 kB / 410.6 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.2027, allocations: 16 kB / 410.6 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.77e-05/0.2027, allocations: 16 kB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.2028, allocations: 47.84 kB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.2029, allocations: 143.2 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2031, allocations: 304.4 kB / 411.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2031, allocations: 4 kB / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.2031, allocations: 0 / 411.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2031, allocations: 0 / 411.1 MB, free: 23.7 MB / 298.7 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.0006535/0.2037, allocations: 0.5652 MB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2038, allocations: 16.03 kB / 411.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.2038, allocations: 28.66 kB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.204, allocations: 255.8 kB / 412 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2041, allocations: 16.94 kB / 412 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.2041, allocations: 24.38 kB / 412 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2044, allocations: 255.1 kB / 412.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.2045, allocations: 8.094 kB / 412.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2045, allocations: 11.94 kB / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2045, allocations: 8 kB / 412.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.2047, allocations: 179.9 kB / 412.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.2055, allocations: 0.7498 MB / 413.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.2058, allocations: 278.9 kB / 413.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.206, allocations: 121.7 kB / 413.6 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.206, allocations: 8.562 kB / 413.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.206, allocations: 38.56 kB / 413.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.453e-06/0.206, allocations: 0 / 413.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.00202/0.2081, allocations: 1.715 MB / 415.4 MB, free: 19.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2081, allocations: 85.11 kB / 415.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2082, allocations: 187.1 kB / 415.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2083, allocations: 29.7 kB / 415.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2083, allocations: 144.6 kB / 415.8 MB, free: 18.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.2084, allocations: 173.5 kB / 416 MB, free: 18.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.2085, allocations: 78.2 kB / 416.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.2085, allocations: 334.8 kB / 416.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2087, allocations: 105.1 kB / 416.5 MB, free: 17.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.2088, allocations: 157.5 kB / 416.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.2091, allocations: 290.1 kB / 416.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2091, allocations: 0 / 416.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003934/0.2095, allocations: 361.8 kB / 417.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2096, allocations: 12.05 kB / 417.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2096, allocations: 4 kB / 417.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2096, allocations: 7.938 kB / 417.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.2099, allocations: 95.91 kB / 417.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.21, allocations: 7.984 kB / 417.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.2101, allocations: 12 kB / 417.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2101, allocations: 15.94 kB / 417.4 MB, free: 16.95 MB / 298.7 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 9.705e-05/0.2102, allocations: 153.7 kB / 417.6 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.2103, allocations: 27.66 kB / 417.6 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.2104, allocations: 41.88 kB / 417.7 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2104, allocations: 8 kB / 417.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2104, allocations: 3.984 kB / 417.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2104, allocations: 0 / 417.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.2113, allocations: 0.9497 MB / 418.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2114, allocations: 7.938 kB / 418.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.2117, allocations: 95.89 kB / 418.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2117, allocations: 0 / 418.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2118, allocations: 12 kB / 418.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2118, allocations: 4 kB / 418.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2118, allocations: 3.938 kB / 418.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.2142, allocations: 2.552 MB / 421.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.2142, allocations: 100.8 kB / 421.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.2143, allocations: 15.94 kB / 421.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2144, allocations: 12 kB / 421.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2145, allocations: 27.91 kB / 421.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2145, allocations: 12 kB / 421.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.2146, allocations: 131.2 kB / 421.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.2146, allocations: 0 / 421.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.215, allocations: 115.9 kB / 421.7 MB, free: 12.45 MB / 298.7 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.0001017/0.2152, allocations: 111.2 kB / 421.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.2156, allocations: 288.7 kB / 422.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.2156, allocations: 4 kB / 422.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2158, allocations: 159.6 kB / 422.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.2164, allocations: 64.14 kB / 422.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2178, allocations: 1.412 MB / 423.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2181, allocations: 0.7845 MB / 424.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.2182, allocations: 42.94 kB / 424.6 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.2183, allocations: 31.44 kB / 424.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2183, allocations: 0 / 424.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of Templates: time 0.005859/0.2242, allocations: 3.44 MB / 428 MB, free: 6.074 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches