Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.FirstGrounded,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.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_3.2.3_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.001362/0.001362, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001548/0.001548, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.33/1.33, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.002111/0.002111, allocations: 60.38 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09571, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00369/0.09944, allocations: 2.349 MB / 331.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1005, allocations: 0.6125 MB / 331.7 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1007, allocations: 4 kB / 331.7 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1009, allocations: 39.58 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1011, allocations: 75.34 kB / 331.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.1013, allocations: 55.92 kB / 331.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.1016, allocations: 258.8 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1018, allocations: 88.28 kB / 332.2 MB, free: 260 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.102, allocations: 99.64 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1021, allocations: 103.5 kB / 332.4 MB, free: 56 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.1022, allocations: 27.98 kB / 332.4 MB, free: 28 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.432e-05/0.1022, allocations: 20 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1023, allocations: 39.84 kB / 332.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1024, allocations: 123.3 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1027, allocations: 247.1 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1027, allocations: 0 / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.782e-06/0.1027, allocations: 0 / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1027, allocations: 3.938 kB / 332.8 MB, free: 15.6 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.0007313/0.1034, allocations: 0.4991 MB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1035, allocations: 15.88 kB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.1036, allocations: 32.56 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.104, allocations: 236.5 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.104, allocations: 16.81 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1041, allocations: 24.38 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.1045, allocations: 210.2 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1045, allocations: 7.984 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1045, allocations: 8 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1045, allocations: 4 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1048, allocations: 129.6 kB / 334 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1059, allocations: 0.7015 MB / 334.7 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.1062, allocations: 154.5 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1063, allocations: 72.77 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1064, allocations: 4 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1064, allocations: 30.56 kB / 335 MB, free: 13.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.1064, allocations: 0 / 335 MB, free: 13.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001778/0.1082, allocations: 0.8892 MB / 335.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1083, allocations: 55.41 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1084, allocations: 174.7 kB / 336.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1084, allocations: 29.7 kB / 336.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1085, allocations: 144.3 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.1086, allocations: 90.64 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.1087, allocations: 49.7 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.1088, allocations: 326.8 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1089, allocations: 55.97 kB / 336.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.109, allocations: 100.2 kB / 336.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1093, allocations: 168.2 kB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1093, allocations: 0 / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004066/0.1098, allocations: 254 kB / 337.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1098, allocations: 4 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1098, allocations: 4 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.11, allocations: 32.83 kB / 337.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1102, allocations: 59.84 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.1113, allocations: 1.485 MB / 338.9 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1115, allocations: 8 kB / 338.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1115, allocations: 12.06 kB / 338.9 MB, free: 9.059 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 (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 prepare postOptimizeDAE: time 0.0001057/0.1116, allocations: 129.8 kB / 339 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1116, allocations: 15.81 kB / 339 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1117, allocations: 29.86 kB / 339 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1117, allocations: 7.938 kB / 339 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1117, allocations: 0 / 339 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1117, allocations: 0 / 339 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.1126, allocations: 0.648 MB / 339.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1126, allocations: 0 / 339.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.1128, allocations: 47.97 kB / 339.7 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.1129, allocations: 36.78 kB / 339.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1129, allocations: 12.05 kB / 339.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.114, allocations: 1.473 MB / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.114, allocations: 3.938 kB / 341.3 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.1145, allocations: 406 kB / 341.7 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1146, allocations: 92.98 kB / 341.8 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1146, allocations: 8 kB / 341.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1148, allocations: 12.03 kB / 341.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1148, allocations: 15.92 kB / 341.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1148, allocations: 11.94 kB / 341.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.115, allocations: 132.8 kB / 341.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 341.9 MB, free: 5.727 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1153, allocations: 56 kB / 342 MB, free: 5.672 MB / 286.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 (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.0001091/0.1154, allocations: 107.2 kB / 342.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005078/0.1159, allocations: 294.3 kB / 342.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1159, allocations: 0 / 342.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1162, allocations: 219.3 kB / 342.6 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1166, allocations: 47.89 kB / 342.6 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1177, allocations: 0.6694 MB / 343.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.118, allocations: 0.7559 MB / 344.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1181, allocations: 17.95 kB / 344.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.1181, allocations: 23.44 kB / 344.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1181, allocations: 0 / 344.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of Templates: time 0.005266/0.1234, allocations: 2.365 MB / 346.5 MB, free: 1.102 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches