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.0007993/0.0007993, allocations: 89.38 kB / 17.31 MB, free: 5.59 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.0008423/0.0008423, allocations: 182 kB / 18.21 MB, free: 5.191 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.117/1.117, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002087/0.0002086, allocations: 11.94 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07049/0.07072, allocations: 50.41 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002033/0.07278, allocations: 2.035 MB / 354.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.07358, allocations: 0.5649 MB / 355.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.0737, allocations: 7.938 kB / 355.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.07381, allocations: 27.78 kB / 355.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.07394, allocations: 63.52 kB / 355.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.07412, allocations: 39.95 kB / 355.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.07436, allocations: 250.8 kB / 355.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.07451, allocations: 68.8 kB / 355.5 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.07464, allocations: 91.58 kB / 355.6 MB, free: 296 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.07476, allocations: 91.5 kB / 355.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.0748, allocations: 12 kB / 355.7 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.07483, allocations: 8 kB / 355.7 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.07487, allocations: 43.83 kB / 355.8 MB, free: 140 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.07496, allocations: 129.1 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.07513, allocations: 179.7 kB / 356.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.07514, allocations: 0 / 356.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07515, allocations: 0 / 356.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.07515, allocations: 0 / 356.1 MB, free: 15.83 MB / 302.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.000537/0.0757, allocations: 491 kB / 356.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.07574, allocations: 12.03 kB / 356.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.07579, allocations: 24.66 kB / 356.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.07601, allocations: 233.5 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.07603, allocations: 16.81 kB / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.07607, allocations: 24.38 kB / 356.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.07639, allocations: 210.2 kB / 357.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.07641, allocations: 11.89 kB / 357.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.07643, allocations: 8 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.07645, allocations: 4 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.07668, allocations: 137.6 kB / 357.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.07752, allocations: 0.7055 MB / 357.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.07776, allocations: 154.5 kB / 358.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.07788, allocations: 72.83 kB / 358.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.07791, allocations: 11.92 kB / 358.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.07793, allocations: 34.56 kB / 358.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.07794, allocations: 3.938 kB / 358.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001313/0.07925, allocations: 0.893 MB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.07929, allocations: 51.41 kB / 359.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.07943, allocations: 183.2 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.07946, allocations: 25.7 kB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.07953, allocations: 148.2 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.07959, allocations: 82.75 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.07963, allocations: 33.7 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.07972, allocations: 326.8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.07983, allocations: 55.97 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.07997, allocations: 108.2 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.08022, allocations: 164.2 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.08022, allocations: 0 / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003819/0.08061, allocations: 262 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.08063, allocations: 8 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.08064, allocations: 0 / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.08078, allocations: 36.81 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.08096, allocations: 47.92 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009231/0.08189, allocations: 1.378 MB / 362 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.08201, allocations: 12.03 kB / 362 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.08204, allocations: 16 kB / 362 MB, free: 9.41 MB / 302.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.0001012/0.08215, allocations: 137.8 kB / 362.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.08219, allocations: 19.81 kB / 362.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.08224, allocations: 21.88 kB / 362.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.08225, allocations: 4 kB / 362.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.08226, allocations: 0 / 362.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.08226, allocations: 3.984 kB / 362.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/0.08303, allocations: 0.6578 MB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.08304, allocations: 0 / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.08324, allocations: 51.98 kB / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.706e-05/0.08334, allocations: 32.83 kB / 362.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.08337, allocations: 11.94 kB / 362.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008636/0.08423, allocations: 1.383 MB / 364.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.08425, allocations: 3.938 kB / 364.3 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.08474, allocations: 421.5 kB / 364.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.08479, allocations: 92.92 kB / 364.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.08482, allocations: 4 kB / 364.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.08493, allocations: 8.031 kB / 364.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.08498, allocations: 15.98 kB / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.08499, allocations: 4 kB / 364.9 MB, free: 6.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.08508, allocations: 136.8 kB / 365 MB, free: 6.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08508, allocations: 0 / 365 MB, free: 6.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.08537, allocations: 63.94 kB / 365.1 MB, free: 6.105 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 (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 8.365e-05/0.08546, allocations: 107.1 kB / 365.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.08591, allocations: 294.7 kB / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.08592, allocations: 0 / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.08619, allocations: 218.4 kB / 365.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.08658, allocations: 39.53 kB / 365.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.0876, allocations: 0.8699 MB / 366.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.08785, allocations: 0.7484 MB / 367.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.0879, allocations: 23.44 kB / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08791, allocations: 0 / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of Templates: time 0.00445/0.09236, allocations: 3.414 MB / 370.8 MB, free: 320 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches