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.001211/0.001211, allocations: 174.7 kB / 16.72 MB, free: 5.078 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.552/1.552, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007874/0.0007874, allocations: 86.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003219, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002122/0.2177, allocations: 2.067 MB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000636/0.2184, allocations: 246.1 kB / 377.4 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.2187, allocations: 5.062 kB / 377.4 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2188, allocations: 31.86 kB / 377.4 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.2191, allocations: 77.59 kB / 377.5 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2193, allocations: 45.86 kB / 377.6 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.2197, allocations: 303.3 kB / 377.8 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2199, allocations: 81.81 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.22, allocations: 100.8 kB / 378 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2202, allocations: 112.7 kB / 378.1 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.2202, allocations: 17.66 kB / 378.2 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.2203, allocations: 13.22 kB / 378.2 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.2203, allocations: 43.77 kB / 378.2 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.2205, allocations: 154.2 kB / 378.4 MB, free: 42.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2206, allocations: 232.1 kB / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2207, allocations: 1.531 kB / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2207, allocations: 0 / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2207, allocations: 0 / 378.6 MB, free: 42.77 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.0006361/0.2213, allocations: 0.5158 MB / 379.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2214, allocations: 8.75 kB / 379.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.2214, allocations: 37.36 kB / 379.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2216, allocations: 247 kB / 379.4 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2217, allocations: 23.09 kB / 379.4 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2217, allocations: 37.8 kB / 379.5 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2222, allocations: 248.8 kB / 379.7 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2222, allocations: 2.188 kB / 379.7 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.2222, allocations: 14.16 kB / 379.7 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2222, allocations: 10.5 kB / 379.7 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2226, allocations: 172.4 kB / 379.9 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.2235, allocations: 0.7574 MB / 380.6 MB, free: 41.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.224, allocations: 274 kB / 380.9 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.2242, allocations: 126.6 kB / 381 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.2243, allocations: 7.562 kB / 381 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2243, allocations: 36.59 kB / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.2243, allocations: 1.062 kB / 381.1 MB, free: 40.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002288/0.2266, allocations: 1.703 MB / 382.8 MB, free: 39.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2266, allocations: 87.23 kB / 382.9 MB, free: 39.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2268, allocations: 189 kB / 383.1 MB, free: 39.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2268, allocations: 35.08 kB / 383.1 MB, free: 39.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2269, allocations: 139.1 kB / 383.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.227, allocations: 176.4 kB / 383.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.227, allocations: 9.812 kB / 383.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.227, allocations: 338.2 kB / 383.7 MB, free: 38.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2272, allocations: 109.3 kB / 383.8 MB, free: 38.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.2274, allocations: 156.6 kB / 384 MB, free: 38.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.2278, allocations: 279.4 kB / 384.3 MB, free: 38.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2278, allocations: 1.094 kB / 384.3 MB, free: 38.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004833/0.2283, allocations: 356.7 kB / 384.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2283, allocations: 5.906 kB / 384.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2283, allocations: 1.219 kB / 384.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2284, allocations: 6.688 kB / 384.6 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.2287, allocations: 105.3 kB / 384.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2288, allocations: 7.141 kB / 384.7 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2289, allocations: 10.72 kB / 384.8 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2289, allocations: 18.05 kB / 384.8 MB, free: 38 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 0.0001131/0.229, allocations: 148.3 kB / 384.9 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.2291, allocations: 38.39 kB / 385 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.2292, allocations: 37.69 kB / 385 MB, free: 37.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2292, allocations: 13.75 kB / 385 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2292, allocations: 0 / 385 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2292, allocations: 5.203 kB / 385 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.2304, allocations: 0.9458 MB / 386 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.2304, allocations: 8.891 kB / 386 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.2308, allocations: 93.41 kB / 386.1 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2308, allocations: 2.188 kB / 386.1 MB, free: 37.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2309, allocations: 12.12 kB / 386.1 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2309, allocations: 7.109 kB / 386.1 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2309, allocations: 0 / 386.1 MB, free: 37.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.2315, allocations: 0.6459 MB / 386.7 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2316, allocations: 100.7 kB / 386.8 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2316, allocations: 12 kB / 386.8 MB, free: 36.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2318, allocations: 4 kB / 386.8 MB, free: 36.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2319, allocations: 39.81 kB / 386.9 MB, free: 36.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2319, allocations: 15.94 kB / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.817e-05/0.2319, allocations: 128.3 kB / 387 MB, free: 36.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2319, allocations: 0 / 387 MB, free: 36.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.2323, allocations: 80 kB / 387.1 MB, free: 36.13 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 0.0001355/0.2324, allocations: 111.1 kB / 387.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.2328, allocations: 290.9 kB / 387.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2328, allocations: 4 kB / 387.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.233, allocations: 156.5 kB / 387.6 MB, free: 35.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.2335, allocations: 55.91 kB / 387.7 MB, free: 35.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2348, allocations: 1.24 MB / 388.9 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2349, allocations: 0.7728 MB / 389.7 MB, free: 33.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.235, allocations: 27.44 kB / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.235, allocations: 0 / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of Templates: time 0.004153/0.2392, allocations: 3.659 MB / 393.4 MB, free: 29.76 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