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.001079/0.001079, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2289, allocations: 50.53 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003186/0.2321, allocations: 2.49 MB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.2325, allocations: 267 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2326, allocations: 4 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.2328, allocations: 43.52 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.233, allocations: 95.19 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2331, allocations: 63.92 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2334, allocations: 322.4 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2336, allocations: 103.1 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2337, allocations: 115.6 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2339, allocations: 131.4 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2339, allocations: 24 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.234, allocations: 24 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.2341, allocations: 63.81 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2342, allocations: 139.3 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2345, allocations: 319.9 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2345, allocations: 4 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2345, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.2345, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.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.0007425/0.2352, allocations: 0.5576 MB / 414.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2353, allocations: 12.02 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2354, allocations: 32.56 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.2356, allocations: 259.7 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2356, allocations: 20.94 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2357, allocations: 28.38 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.2362, allocations: 263.1 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2362, allocations: 15.97 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2362, allocations: 11.94 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2363, allocations: 8 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.2365, allocations: 171.9 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009354/0.2375, allocations: 0.7422 MB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.2379, allocations: 273 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2381, allocations: 121.7 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2381, allocations: 4 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2381, allocations: 42.56 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.2381, allocations: 0 / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002518/0.2407, allocations: 1.718 MB / 418.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2407, allocations: 81.11 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2409, allocations: 187.2 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2409, allocations: 37.64 kB / 418.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.241, allocations: 136.8 kB / 418.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.2411, allocations: 181.4 kB / 419 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2413, allocations: 74.25 kB / 419 MB, free: 8.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2414, allocations: 338.8 kB / 419.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2416, allocations: 105 kB / 419.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.2418, allocations: 153.5 kB / 419.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2422, allocations: 290.1 kB / 419.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2422, allocations: 0 / 419.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005059/0.2427, allocations: 369.8 kB / 420.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2427, allocations: 4 kB / 420.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2427, allocations: 0 / 420.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2428, allocations: 4 kB / 420.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.2431, allocations: 103.8 kB / 420.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2432, allocations: 4 kB / 420.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2433, allocations: 16.06 kB / 420.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2433, allocations: 12 kB / 420.4 MB, free: 6.625 MB / 334.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.0001312/0.2434, allocations: 149.8 kB / 420.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.2435, allocations: 31.66 kB / 420.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/0.2436, allocations: 37.86 kB / 420.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2436, allocations: 7.984 kB / 420.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2436, allocations: 0 / 420.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.2437, allocations: 100.8 kB / 420.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2438, allocations: 4 kB / 420.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2439, allocations: 16 kB / 420.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.244, allocations: 23.91 kB / 420.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008389/0.2448, allocations: 0.5282 MB / 421.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000766/0.2456, allocations: 0.7261 MB / 422 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000192/0.2458, allocations: 148.5 kB / 422.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.2459, allocations: 127.2 kB / 422.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.2459, allocations: 0 / 422.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.2466, allocations: 279 kB / 422.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of SimCode: time 0.001508/0.2481, allocations: 1.39 MB / 423.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Templates: time 0.006817/0.2549, allocations: 3.801 MB / 427.7 MB, free: 15.19 MB / 350.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