Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 112.7 kB / 17.74 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 187 kB / 18.68 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2093, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003359/0.2127, allocations: 2.364 MB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.2136, allocations: 0.5804 MB / 404.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2138, allocations: 4 kB / 404.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.2139, allocations: 39.59 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.2141, allocations: 83.33 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.2143, allocations: 51.88 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.2146, allocations: 270.8 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2148, allocations: 102.7 kB / 404.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.215, allocations: 115.5 kB / 405 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.2151, allocations: 115.5 kB / 405.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2152, allocations: 20 kB / 405.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.2152, allocations: 24 kB / 405.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.2153, allocations: 43.84 kB / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2154, allocations: 127.3 kB / 405.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.2157, allocations: 262.9 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2157, allocations: 0 / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2157, allocations: 0 / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2158, allocations: 0 / 405.6 MB, free: 4.648 MB / 318.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.000683/0.2164, allocations: 0.526 MB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2165, allocations: 15.83 kB / 406.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.2166, allocations: 28.75 kB / 406.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.2168, allocations: 249.3 kB / 406.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2169, allocations: 16.81 kB / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.2169, allocations: 32.31 kB / 406.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2173, allocations: 195.6 kB / 406.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2173, allocations: 4 kB / 406.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2173, allocations: 8 kB / 406.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.2173, allocations: 4 kB / 406.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.2176, allocations: 137.7 kB / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.2185, allocations: 0.6192 MB / 407.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.2188, allocations: 185.7 kB / 407.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.219, allocations: 104.8 kB / 407.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.219, allocations: 4 kB / 407.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.2191, allocations: 34.56 kB / 407.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.2191, allocations: 0 / 407.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001828/0.2209, allocations: 1.072 MB / 408.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.2209, allocations: 55.41 kB / 408.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2211, allocations: 187.9 kB / 409 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2211, allocations: 29.7 kB / 409.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.2212, allocations: 144.8 kB / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.2213, allocations: 122.9 kB / 409.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.2214, allocations: 57.64 kB / 409.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2215, allocations: 330.8 kB / 409.7 MB, free: 224 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2217, allocations: 71.97 kB / 409.8 MB, free: 152 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2218, allocations: 115.5 kB / 409.9 MB, free: 28 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2222, allocations: 189.3 kB / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2222, allocations: 0 / 410.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004926/0.2227, allocations: 298.2 kB / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2227, allocations: 12.06 kB / 410.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2227, allocations: 0 / 410.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.2229, allocations: 40.83 kB / 410.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2231, allocations: 63.91 kB / 410.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.2246, allocations: 1.736 MB / 412.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2247, allocations: 15.95 kB / 412.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2247, allocations: 8 kB / 412.2 MB, free: 13.52 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.0001315/0.2249, allocations: 141.8 kB / 412.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.2249, allocations: 27.8 kB / 412.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.225, allocations: 30.64 kB / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.225, allocations: 0 / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.225, allocations: 0 / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.2251, allocations: 92.97 kB / 412.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.2251, allocations: 11.98 kB / 412.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2252, allocations: 8 kB / 412.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.2253, allocations: 23.97 kB / 412.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007448/0.226, allocations: 393.4 kB / 412.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005961/0.2267, allocations: 0.503 MB / 413.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001534/0.2268, allocations: 99.92 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.2269, allocations: 127.2 kB / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.2269, allocations: 0 / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.2276, allocations: 350 kB / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.001233/0.2289, allocations: 1.162 MB / 415.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Templates: time 0.006091/0.235, allocations: 2.916 MB / 418.1 MB, free: 7.547 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches