Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001535/0.001535, allocations: 96.95 kB / 18.37 MB, free: 4.711 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.001739/0.001739, allocations: 187 kB / 19.3 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 51.94 kB / 329.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07254, allocations: 46.61 MB / 375.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003082/0.07565, allocations: 2.352 MB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.07654, allocations: 0.62 MB / 378.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.07665, allocations: 7.938 kB / 378.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.0768, allocations: 35.66 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.07695, allocations: 79.27 kB / 378.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.07713, allocations: 55.92 kB / 378.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.07741, allocations: 270.7 kB / 379.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.0776, allocations: 106.7 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.07774, allocations: 103.6 kB / 379.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.07789, allocations: 119.4 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.07793, allocations: 20 kB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.07797, allocations: 28 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.07802, allocations: 43.84 kB / 379.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.07814, allocations: 127.4 kB / 379.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.07838, allocations: 259 kB / 380 MB, free: 420 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.07839, allocations: 4 kB / 380 MB, free: 416 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0784, allocations: 0 / 380 MB, free: 416 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.07841, allocations: 0 / 380 MB, free: 416 kB / 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.1506/0.229, allocations: 0.5164 MB / 380.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.229, allocations: 12.77 kB / 380.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.2291, allocations: 27.91 kB / 380.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2294, allocations: 249.4 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2294, allocations: 16.41 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.2295, allocations: 23.03 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2299, allocations: 195.7 kB / 381 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2299, allocations: 1.641 kB / 381 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.2299, allocations: 14.05 kB / 381 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2299, allocations: 6.469 kB / 381 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2302, allocations: 141.1 kB / 381.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.231, allocations: 0.6262 MB / 381.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2313, allocations: 180.2 kB / 382 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2315, allocations: 96.27 kB / 382.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.2315, allocations: 2.75 kB / 382.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2315, allocations: 36 kB / 382.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.2315, allocations: 4.75 kB / 382.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001789/0.2333, allocations: 1.065 MB / 383.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.2334, allocations: 62.75 kB / 383.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2335, allocations: 180.8 kB / 383.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2335, allocations: 30.52 kB / 383.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.2336, allocations: 139 kB / 383.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.2337, allocations: 113.7 kB / 383.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.2338, allocations: 55.33 kB / 383.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2338, allocations: 338 kB / 384.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.234, allocations: 67.81 kB / 384.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2341, allocations: 106.7 kB / 384.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.2344, allocations: 193.3 kB / 384.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2344, allocations: 0 / 384.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004614/0.2349, allocations: 299.8 kB / 384.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2349, allocations: 5.594 kB / 384.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2349, allocations: 2.812 kB / 384.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.2351, allocations: 45.94 kB / 384.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2354, allocations: 63.77 kB / 384.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.2365, allocations: 1.731 MB / 386.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2366, allocations: 10.92 kB / 386.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2366, allocations: 13.02 kB / 386.6 MB, free: 9.051 MB / 318.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 9.938e-05/0.2367, allocations: 139.2 kB / 386.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.2368, allocations: 27.17 kB / 386.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.2369, allocations: 32.75 kB / 386.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2369, allocations: 1.453 kB / 386.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2369, allocations: 3.938 kB / 386.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.2369, allocations: 93.47 kB / 386.9 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.2369, allocations: 5.344 kB / 386.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2371, allocations: 13.14 kB / 386.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.2371, allocations: 24.09 kB / 386.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006971/0.2378, allocations: 379.2 kB / 387.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005339/0.2384, allocations: 0.521 MB / 387.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001438/0.2385, allocations: 92.38 kB / 387.9 MB, free: 8.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.2386, allocations: 131.8 kB / 388 MB, free: 8.102 MB / 318.1 MB Notification: Performance of Backend: time 3.9e-07/0.2386, allocations: 0 / 388 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006673/0.2393, allocations: 351.2 kB / 388.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009922/0.2403, allocations: 1.147 MB / 389.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of Templates: time 0.006013/0.2464, allocations: 2.855 MB / 392.4 MB, free: 6.754 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches