Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,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.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,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.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.0008931, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001004/0.001004, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.322/1.322, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002295, allocations: 6.75 kB / 300.7 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08517/0.08541, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002165/0.08761, allocations: 1.887 MB / 353 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.08847, allocations: 0.5691 MB / 353.6 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.0886, allocations: 4 kB / 353.6 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.08866, allocations: 23.78 kB / 353.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.08883, allocations: 79.81 kB / 353.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.08899, allocations: 39.89 kB / 353.7 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.08922, allocations: 183.6 kB / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.08939, allocations: 72.62 kB / 354 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.08951, allocations: 87.64 kB / 354.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.08964, allocations: 91.56 kB / 354.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.08968, allocations: 8 kB / 354.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/0.08971, allocations: 12 kB / 354.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.08975, allocations: 35.89 kB / 354.2 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.0898, allocations: 69.58 kB / 354.3 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.08997, allocations: 171.5 kB / 354.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.08997, allocations: 0 / 354.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.08998, allocations: 0 / 354.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08999, allocations: 3.938 kB / 354.5 MB, free: 8.352 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000603/0.0906, allocations: 478.9 kB / 354.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.09065, allocations: 12.03 kB / 354.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.0907, allocations: 27.67 kB / 355 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.09096, allocations: 231.4 kB / 355.2 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.09099, allocations: 16.44 kB / 355.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.09103, allocations: 23.98 kB / 355.2 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.09137, allocations: 205.8 kB / 355.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.09141, allocations: 11.89 kB / 355.4 MB, free: 7.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.09144, allocations: 4 kB / 355.4 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.09145, allocations: 11.95 kB / 355.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.0917, allocations: 129.7 kB / 355.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.09263, allocations: 0.7055 MB / 356.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.09289, allocations: 154.5 kB / 356.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.09292, allocations: 8 kB / 356.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.09294, allocations: 30.56 kB / 356.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.09295, allocations: 0 / 356.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001458/0.09441, allocations: 0.8881 MB / 357.4 MB, free: 5.176 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.09446, allocations: 59.34 kB / 357.4 MB, free: 5.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.09462, allocations: 175.2 kB / 357.6 MB, free: 4.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.09465, allocations: 29.64 kB / 357.6 MB, free: 4.887 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.09473, allocations: 156.1 kB / 357.8 MB, free: 4.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.0948, allocations: 86.73 kB / 357.9 MB, free: 4.645 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.09482, allocations: 8 kB / 357.9 MB, free: 4.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.09492, allocations: 326.8 kB / 358.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.09505, allocations: 55.97 kB / 358.2 MB, free: 4.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.09519, allocations: 104.2 kB / 358.3 MB, free: 4.137 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.09532, allocations: 68 kB / 358.4 MB, free: 4.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.09533, allocations: 0 / 358.4 MB, free: 4.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004218/0.09576, allocations: 254.1 kB / 358.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.09579, allocations: 4 kB / 358.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.0958, allocations: 0 / 358.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.09596, allocations: 40.77 kB / 358.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.09619, allocations: 51.97 kB / 358.7 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.09727, allocations: 1.39 MB / 360.1 MB, free: 2.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.0974, allocations: 12.03 kB / 360.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.09742, allocations: 8 kB / 360.2 MB, free: 2.172 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.09755, allocations: 145.8 kB / 360.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.09759, allocations: 15.81 kB / 360.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.09765, allocations: 25.86 kB / 360.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.09765, allocations: 0 / 360.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.09766, allocations: 4 kB / 360.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.09767, allocations: 0 / 360.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.09851, allocations: 0.6568 MB / 361 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.09853, allocations: 4 kB / 361 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.09874, allocations: 43.97 kB / 361 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.09886, allocations: 36.91 kB / 361.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.09889, allocations: 7.984 kB / 361.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/0.09989, allocations: 1.382 MB / 362.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.0999, allocations: 4.031 kB / 362.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.1004, allocations: 435.4 kB / 362.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1005, allocations: 96.86 kB / 363 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1005, allocations: 4.094 kB / 363 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1007, allocations: 15.95 kB / 363 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1007, allocations: 20 kB / 363 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1007, allocations: 16 kB / 363.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.296e-05/0.1008, allocations: 128.8 kB / 363.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1008, allocations: 0 / 363.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1012, allocations: 60 kB / 363.2 MB, free: 14.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.1013, allocations: 100 kB / 363.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.1018, allocations: 302.7 kB / 363.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1018, allocations: 0 / 363.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1021, allocations: 222.4 kB / 363.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1024, allocations: 36.17 kB / 363.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1036, allocations: 0.8095 MB / 364.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1039, allocations: 0.7524 MB / 365.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.057e-05/0.104, allocations: 21.92 kB / 365.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.104, allocations: 19.44 kB / 365.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.104, allocations: 0 / 365.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Templates: time 0.004871/0.1089, allocations: 2.138 MB / 367.6 MB, free: 10.37 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches