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.001338/0.001338, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 206.8 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.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2103, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003107/0.2134, allocations: 2.375 MB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.2144, allocations: 0.6466 MB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2145, allocations: 4 kB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.2146, allocations: 35.59 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2148, allocations: 83.2 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.215, allocations: 71.91 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.2153, allocations: 270.7 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2155, allocations: 102.7 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2157, allocations: 119.5 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2158, allocations: 111.5 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.2159, allocations: 24 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.2159, allocations: 24 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.216, allocations: 55.83 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2161, allocations: 119.4 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2164, allocations: 268.1 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2164, allocations: 0 / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2164, allocations: 0 / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2164, allocations: 0 / 414.2 MB, free: 13.31 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.0006619/0.2171, allocations: 0.5184 MB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2171, allocations: 20.02 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.2173, allocations: 28.66 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2176, allocations: 260.4 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2176, allocations: 20.81 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.2176, allocations: 24.28 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.218, allocations: 195.5 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.218, allocations: 8 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.218, allocations: 8 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.218, allocations: 4 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2183, allocations: 141.7 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008596/0.2192, allocations: 0.6229 MB / 416 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.2195, allocations: 188.7 kB / 416.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2196, allocations: 96.83 kB / 416.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2197, allocations: 0 / 416.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2197, allocations: 34.56 kB / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.2197, allocations: 0 / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001811/0.2215, allocations: 1.067 MB / 417.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2216, allocations: 55.41 kB / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2217, allocations: 187.1 kB / 417.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2218, allocations: 29.7 kB / 417.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.2218, allocations: 144.7 kB / 417.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.2219, allocations: 114.3 kB / 417.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.222, allocations: 53.7 kB / 418 MB, free: 9.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2221, allocations: 330.8 kB / 418.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2223, allocations: 75.97 kB / 418.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2224, allocations: 102.8 kB / 418.5 MB, free: 8.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.2227, allocations: 197.6 kB / 418.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2228, allocations: 0 / 418.7 MB, free: 8.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004875/0.2232, allocations: 295.1 kB / 419 MB, free: 8.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2233, allocations: 8 kB / 419 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2233, allocations: 0 / 419 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.2234, allocations: 40.91 kB / 419 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2237, allocations: 55.91 kB / 419.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2251, allocations: 1.74 MB / 420.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.2252, allocations: 8.219 kB / 420.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2252, allocations: 12 kB / 420.8 MB, free: 6.219 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.0001162/0.2253, allocations: 149.3 kB / 421 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.2254, allocations: 31.66 kB / 421 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.2255, allocations: 34.64 kB / 421 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2255, allocations: 0 / 421 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2255, allocations: 0 / 421 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2255, allocations: 92.91 kB / 421.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2256, allocations: 8 kB / 421.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2257, allocations: 8 kB / 421.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.2258, allocations: 19.95 kB / 421.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007437/0.2265, allocations: 397.3 kB / 421.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005905/0.2271, allocations: 0.5143 MB / 422.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001529/0.2273, allocations: 95.94 kB / 422.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.2274, allocations: 136.4 kB / 422.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of Backend: time 1.7e-07/0.2274, allocations: 0 / 422.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.2281, allocations: 352.9 kB / 422.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of SimCode: time 0.001135/0.2293, allocations: 1.153 MB / 423.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Templates: time 0.006099/0.2354, allocations: 2.966 MB / 426.8 MB, free: 188 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