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.001219/0.001219, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001793/0.001794, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.422/1.422, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001266/0.001266, allocations: 43.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08525, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00355/0.08883, allocations: 2.349 MB / 331.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.08991, allocations: 0.6319 MB / 331.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.0901, allocations: 4 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.09028, allocations: 35.59 kB / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.09048, allocations: 75.33 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.09073, allocations: 59.86 kB / 331.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.09109, allocations: 270.8 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.09131, allocations: 102.8 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.09151, allocations: 111.5 kB / 332.3 MB, free: 108 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.09172, allocations: 111.5 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.09177, allocations: 20 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.09181, allocations: 24 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.09187, allocations: 51.77 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.09199, allocations: 119.4 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.09228, allocations: 267 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.09229, allocations: 0 / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0923, allocations: 0 / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.09231, allocations: 0 / 332.9 MB, free: 15.52 MB / 286.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.0007435/0.09307, allocations: 0.5262 MB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.09312, allocations: 15.89 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.09319, allocations: 24.66 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.0935, allocations: 236.6 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.09353, allocations: 20.75 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.09358, allocations: 24.38 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.09394, allocations: 195.6 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.09397, allocations: 3.906 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.094, allocations: 12 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.09402, allocations: 8 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.09429, allocations: 137.7 kB / 334.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.09517, allocations: 0.6229 MB / 334.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.09546, allocations: 186.4 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.09563, allocations: 100.8 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.09566, allocations: 4 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.09569, allocations: 34.56 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.0957, allocations: 0 / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001852/0.09755, allocations: 1.077 MB / 336.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.0976, allocations: 55.34 kB / 336.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.09777, allocations: 183.1 kB / 336.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.0978, allocations: 29.7 kB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.09789, allocations: 144.7 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.09798, allocations: 114.3 kB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.09806, allocations: 53.7 kB / 336.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09817, allocations: 334.8 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.09832, allocations: 67.97 kB / 337.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.09849, allocations: 110.5 kB / 337.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.09879, allocations: 192.7 kB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.0988, allocations: 0 / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004828/0.09929, allocations: 290 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.09932, allocations: 4 kB / 337.7 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09933, allocations: 4 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.09949, allocations: 48.89 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.09975, allocations: 55.91 kB / 337.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1012, allocations: 1.74 MB / 339.5 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1013, allocations: 8.188 kB / 339.5 MB, free: 8.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1014, allocations: 8 kB / 339.5 MB, free: 8.43 MB / 286.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.0001194/0.1015, allocations: 145.8 kB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.1015, allocations: 27.66 kB / 339.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.1016, allocations: 34.62 kB / 339.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1016, allocations: 0 / 339.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1016, allocations: 4 kB / 339.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1016, allocations: 0 / 339.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1027, allocations: 0.7814 MB / 340.5 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1027, allocations: 7.938 kB / 340.5 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.103, allocations: 55.91 kB / 340.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.1031, allocations: 36.83 kB / 340.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.1031, allocations: 8 kB / 340.6 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1042, allocations: 1.477 MB / 342.1 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1043, allocations: 8.047 kB / 342.1 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.1049, allocations: 482.5 kB / 342.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.105, allocations: 96.83 kB / 342.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.105, allocations: 8 kB / 342.7 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1052, allocations: 8.234 kB / 342.7 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1052, allocations: 27.95 kB / 342.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1052, allocations: 15.98 kB / 342.7 MB, free: 4.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1054, allocations: 127.2 kB / 342.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1054, allocations: 0 / 342.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.1057, allocations: 64 kB / 342.9 MB, free: 4.762 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.1058, allocations: 107.2 kB / 343 MB, free: 4.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.1064, allocations: 332.1 kB / 343.3 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1064, allocations: 4 kB / 343.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.1068, allocations: 242.8 kB / 343.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1072, allocations: 60.95 kB / 343.6 MB, free: 4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1084, allocations: 0.7259 MB / 344.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1087, allocations: 0.76 MB / 345.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.1088, allocations: 22.28 kB / 345.2 MB, free: 2.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.1088, allocations: 23.44 kB / 345.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1088, allocations: 0 / 345.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of Templates: time 0.005837/0.1147, allocations: 2.659 MB / 347.8 MB, free: 15.75 MB / 302.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 -s gbode -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