Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 176.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007141/0.0007142, allocations: 93 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1805, allocations: 47.58 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001682/0.1822, allocations: 2.054 MB / 376.6 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.1826, allocations: 254.3 kB / 376.9 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.1827, allocations: 4.625 kB / 376.9 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.1828, allocations: 36.27 kB / 376.9 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1829, allocations: 78.41 kB / 377 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.183, allocations: 41.2 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1832, allocations: 299.4 kB / 377.3 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1834, allocations: 82.42 kB / 377.4 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.1835, allocations: 97.94 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1836, allocations: 119 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1836, allocations: 14 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.023e-05/0.1837, allocations: 13.81 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1837, allocations: 39.31 kB / 377.7 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.1838, allocations: 81.36 kB / 377.7 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1839, allocations: 229.6 kB / 378 MB, free: 42.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1839, allocations: 0 / 378 MB, free: 42.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.184, allocations: 3.938 kB / 378 MB, free: 42.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.184, allocations: 1.188 kB / 378 MB, free: 42.82 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.0005662/0.1845, allocations: 0.5218 MB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1846, allocations: 9.344 kB / 378.5 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.1846, allocations: 31.22 kB / 378.5 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1848, allocations: 249.1 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1848, allocations: 23.02 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1849, allocations: 29.97 kB / 378.8 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1852, allocations: 252.8 kB / 379.1 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1853, allocations: 2.406 kB / 379.1 MB, free: 41.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1853, allocations: 10 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1853, allocations: 6.5 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.1856, allocations: 176.3 kB / 379.3 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.1864, allocations: 0.7498 MB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1867, allocations: 269 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1869, allocations: 134.9 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1869, allocations: 7.312 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.1869, allocations: 33.09 kB / 380.4 MB, free: 40.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.323e-06/0.1869, allocations: 3.938 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002157/0.1891, allocations: 1.711 MB / 382.2 MB, free: 39.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.1891, allocations: 86.05 kB / 382.2 MB, free: 39.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1893, allocations: 185.6 kB / 382.4 MB, free: 39.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1893, allocations: 31.11 kB / 382.5 MB, free: 39.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1893, allocations: 141.7 kB / 382.6 MB, free: 39.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.1894, allocations: 173.7 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.1894, allocations: 10.09 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.1895, allocations: 337.2 kB / 383.1 MB, free: 38.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1896, allocations: 107 kB / 383.2 MB, free: 38.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1898, allocations: 155.5 kB / 383.4 MB, free: 38.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.19, allocations: 130 kB / 383.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.19, allocations: 0 / 383.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004353/0.1905, allocations: 365.7 kB / 383.8 MB, free: 38.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1905, allocations: 9.594 kB / 383.9 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1905, allocations: 1.438 kB / 383.9 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1905, allocations: 6.844 kB / 383.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.1909, allocations: 100.9 kB / 384 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1909, allocations: 3.875 kB / 384 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.191, allocations: 10.44 kB / 384 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.191, allocations: 13.97 kB / 384 MB, free: 38.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/0.1911, allocations: 151.9 kB / 384.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1912, allocations: 33.61 kB / 384.2 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/0.1913, allocations: 41.95 kB / 384.2 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1913, allocations: 10.25 kB / 384.2 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1913, allocations: 4 kB / 384.2 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1913, allocations: 5.016 kB / 384.2 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.1923, allocations: 0.9502 MB / 385.2 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1923, allocations: 1.219 kB / 385.2 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.1927, allocations: 96.77 kB / 385.3 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1927, allocations: 2.812 kB / 385.3 MB, free: 37.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1928, allocations: 16.14 kB / 385.3 MB, free: 37.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1928, allocations: 2.156 kB / 385.3 MB, free: 37.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1928, allocations: 9.359 kB / 385.3 MB, free: 37.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.1934, allocations: 0.6308 MB / 385.9 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1934, allocations: 100.2 kB / 386 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1935, allocations: 11.41 kB / 386 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1937, allocations: 11.17 kB / 386.1 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1937, allocations: 33.77 kB / 386.1 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1937, allocations: 13.47 kB / 386.1 MB, free: 36.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.046e-05/0.1938, allocations: 135.3 kB / 386.2 MB, free: 36.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1938, allocations: 0 / 386.2 MB, free: 36.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.1941, allocations: 77.97 kB / 386.3 MB, free: 36.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.1e-05/0.1942, allocations: 115.3 kB / 386.4 MB, free: 36.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1946, allocations: 283.9 kB / 386.7 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1946, allocations: 4.125 kB / 386.7 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1947, allocations: 160.6 kB / 386.9 MB, free: 35.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.1953, allocations: 59.94 kB / 386.9 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1964, allocations: 1.244 MB / 388.2 MB, free: 34.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.1966, allocations: 0.7728 MB / 388.9 MB, free: 33.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1967, allocations: 31.44 kB / 389 MB, free: 33.8 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1967, allocations: 0 / 389 MB, free: 33.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003929/0.2006, allocations: 3.635 MB / 392.6 MB, free: 30.18 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches