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.001749/0.001749, 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.001764/0.001764, 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.378/1.378, 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.001221/0.001221, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08375, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003435/0.08722, allocations: 2.349 MB / 331.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.08815, allocations: 0.6202 MB / 331.7 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.08827, allocations: 4 kB / 331.7 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.08842, allocations: 35.59 kB / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.08856, allocations: 75.33 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.08875, allocations: 55.92 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.08901, allocations: 258.8 kB / 332.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.0892, allocations: 92.28 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.08933, allocations: 95.66 kB / 332.3 MB, free: 156 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.08948, allocations: 111.5 kB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.08953, allocations: 20 kB / 332.4 MB, free: 24 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.305e-05/0.08957, allocations: 16 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.08963, allocations: 43.97 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.08974, allocations: 127.3 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.08999, allocations: 243 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09, allocations: 0 / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09001, allocations: 0 / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.09002, allocations: 3.984 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.000645/0.09067, allocations: 0.4952 MB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.09071, allocations: 15.83 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.09076, allocations: 28.56 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.09104, allocations: 248.5 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.09107, allocations: 16.81 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.09111, allocations: 24.38 kB / 333.7 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.09145, allocations: 210.2 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.09147, allocations: 0 / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.0915, allocations: 8 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.09152, allocations: 4 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.09178, allocations: 133.6 kB / 334 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.09271, allocations: 0.7014 MB / 334.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.09298, allocations: 150.5 kB / 334.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.09311, allocations: 76.83 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.09314, allocations: 4 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.09317, allocations: 34.56 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.755e-06/0.09318, allocations: 0 / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001454/0.09464, allocations: 0.8892 MB / 335.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.09468, allocations: 55.41 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.09484, allocations: 170.7 kB / 336.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.09486, allocations: 29.7 kB / 336.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.09494, allocations: 144.2 kB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.09502, allocations: 86.66 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.09509, allocations: 53.7 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.09521, allocations: 334.8 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.09533, allocations: 55.97 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.09547, allocations: 92.27 kB / 336.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.09575, allocations: 176.1 kB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09576, allocations: 3.938 kB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004099/0.09618, allocations: 246 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.0962, allocations: 8.125 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.09622, allocations: 4 kB / 337.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.09637, allocations: 32.83 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.09659, allocations: 51.92 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.0977, allocations: 1.485 MB / 338.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.09782, allocations: 15.92 kB / 338.9 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.09784, allocations: 8 kB / 338.9 MB, free: 9.051 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.0001135/0.09796, allocations: 133.9 kB / 339 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.09801, allocations: 15.81 kB / 339 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.09806, allocations: 25.88 kB / 339 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.09807, allocations: 3.938 kB / 339 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.09808, allocations: 11.92 kB / 339.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.09809, allocations: 0 / 339.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008458/0.09894, allocations: 0.6441 MB / 339.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.09896, allocations: 0 / 339.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.09917, allocations: 39.97 kB / 339.7 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.09929, allocations: 40.78 kB / 339.8 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.09932, allocations: 4 kB / 339.8 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.1004, allocations: 1.485 MB / 341.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1004, allocations: 0 / 341.3 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.1009, allocations: 406.2 kB / 341.7 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.101, allocations: 92.95 kB / 341.8 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.101, allocations: 8 kB / 341.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1011, allocations: 8 kB / 341.8 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1012, allocations: 23.91 kB / 341.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1012, allocations: 8 kB / 341.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.965e-05/0.1013, allocations: 128.8 kB / 341.9 MB, free: 5.723 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1013, allocations: 0 / 341.9 MB, free: 5.723 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1016, allocations: 56 kB / 342 MB, free: 5.668 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.000124/0.1018, allocations: 107.2 kB / 342.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.1023, allocations: 294.3 kB / 342.4 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1023, allocations: 0 / 342.4 MB, free: 5.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.1026, allocations: 214.9 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.0003976/0.103, allocations: 52.16 kB / 342.6 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1042, allocations: 0.6771 MB / 343.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1045, allocations: 0.7521 MB / 344.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.1045, allocations: 21.95 kB / 344.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.1046, allocations: 23.38 kB / 344.1 MB, free: 3.449 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1046, allocations: 0 / 344.1 MB, free: 3.449 MB / 286.1 MB Notification: Performance of Templates: time 0.005118/0.1097, allocations: 2.361 MB / 346.5 MB, free: 1.09 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 gbode -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