Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 113.2 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.001923/0.001923, allocations: 210.7 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.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2091, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003134/0.2123, allocations: 2.356 MB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.2132, allocations: 0.6505 MB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2133, allocations: 4 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2135, allocations: 35.59 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.2136, allocations: 83.27 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2139, allocations: 59.91 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.2141, allocations: 274.7 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2143, allocations: 102.7 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.2145, allocations: 119.5 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2147, allocations: 111.5 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.2147, allocations: 20 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.2148, allocations: 35.98 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.2148, allocations: 51.77 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.215, allocations: 127.3 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.2152, allocations: 260.2 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2152, allocations: 0 / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.073e-06/0.2153, allocations: 0 / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2153, allocations: 0 / 414.2 MB, free: 13.28 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006773/0.2159, allocations: 0.5263 MB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.216, allocations: 8.031 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2161, allocations: 36.64 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2164, allocations: 248.5 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2165, allocations: 16.81 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2165, allocations: 32.27 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.2168, allocations: 203.5 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2169, allocations: 0 / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.2169, allocations: 8 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2169, allocations: 8 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.2172, allocations: 133.7 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.2181, allocations: 0.6268 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.2183, allocations: 186 kB / 416.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2185, allocations: 100.8 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2185, allocations: 4 kB / 416.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2186, allocations: 34.56 kB / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.2186, allocations: 0 / 416.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001783/0.2204, allocations: 1.068 MB / 417.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2204, allocations: 59.39 kB / 417.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2206, allocations: 187.1 kB / 417.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2206, allocations: 33.7 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.2207, allocations: 140.7 kB / 417.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.2208, allocations: 110.3 kB / 417.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.2208, allocations: 53.7 kB / 418 MB, free: 9.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.221, allocations: 338.8 kB / 418.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2211, allocations: 63.97 kB / 418.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.2213, allocations: 110.8 kB / 418.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.2216, allocations: 193.6 kB / 418.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2216, allocations: 0 / 418.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004866/0.2221, allocations: 295.1 kB / 419 MB, free: 8.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2221, allocations: 7.984 kB / 419 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2221, allocations: 0 / 419 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.2223, allocations: 40.84 kB / 419 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2225, allocations: 59.91 kB / 419.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.2239, allocations: 1.74 MB / 420.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.224, allocations: 12.03 kB / 420.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2241, allocations: 8 kB / 420.8 MB, free: 6.184 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.2242, allocations: 145.8 kB / 421 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.2243, allocations: 27.66 kB / 421 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.2243, allocations: 30.64 kB / 421 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2243, allocations: 0 / 421 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2243, allocations: 4 kB / 421 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.2244, allocations: 92.91 kB / 421.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2244, allocations: 4 kB / 421.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2246, allocations: 8 kB / 421.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.2246, allocations: 31.95 kB / 421.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007326/0.2254, allocations: 393.3 kB / 421.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000592/0.226, allocations: 0.5182 MB / 422.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.2261, allocations: 91.94 kB / 422.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.038e-05/0.2262, allocations: 132.4 kB / 422.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of Backend: time 2.5e-07/0.2262, allocations: 0 / 422.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.227, allocations: 356.9 kB / 422.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of SimCode: time 0.001148/0.2281, allocations: 1.145 MB / 423.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Templates: time 0.005923/0.2341, allocations: 2.967 MB / 426.7 MB, free: 156 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches