Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2589, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003183/0.2621, allocations: 2.367 MB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.2631, allocations: 0.6427 MB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2633, allocations: 4 kB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.2634, allocations: 43.59 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2636, allocations: 71.34 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2638, allocations: 59.92 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2641, allocations: 266.7 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2643, allocations: 96.27 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2645, allocations: 103.6 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2647, allocations: 111.5 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.2647, allocations: 20 kB / 413 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.2648, allocations: 24 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.2648, allocations: 47.84 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2649, allocations: 111.4 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.2652, allocations: 244.3 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2652, allocations: 0 / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2652, allocations: 0 / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2652, allocations: 4 kB / 413.4 MB, free: 13.38 MB / 334.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.000686/0.2659, allocations: 0.5262 MB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.266, allocations: 11.97 kB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.2661, allocations: 36.64 kB / 414 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.2664, allocations: 236.6 kB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2665, allocations: 16.81 kB / 414.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2665, allocations: 24.38 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.2668, allocations: 214.1 kB / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2669, allocations: 7.906 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.2669, allocations: 4 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2669, allocations: 8 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.2671, allocations: 125.7 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.2681, allocations: 0.6976 MB / 415.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.2683, allocations: 153.4 kB / 415.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2684, allocations: 80.81 kB / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2685, allocations: 0 / 415.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.2685, allocations: 38.56 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.2685, allocations: 3.938 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00144/0.27, allocations: 0.8884 MB / 416.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.27, allocations: 55.41 kB / 416.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2702, allocations: 177.1 kB / 416.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2702, allocations: 33.7 kB / 416.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.2703, allocations: 152.1 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2704, allocations: 78.77 kB / 417 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.2704, allocations: 49.7 kB / 417 MB, free: 9.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2706, allocations: 330.8 kB / 417.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2707, allocations: 59.97 kB / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2708, allocations: 100.2 kB / 417.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.2711, allocations: 168.2 kB / 417.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2711, allocations: 0 / 417.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003992/0.2715, allocations: 250 kB / 417.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2715, allocations: 8 kB / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2715, allocations: 0 / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.2717, allocations: 40.95 kB / 417.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2719, allocations: 47.92 kB / 418 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.273, allocations: 1.477 MB / 419.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2731, allocations: 15.92 kB / 419.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2732, allocations: 12 kB / 419.5 MB, free: 6.797 MB / 334.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.0001063/0.2733, allocations: 140.7 kB / 419.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.2733, allocations: 15.81 kB / 419.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.2734, allocations: 25.86 kB / 419.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2734, allocations: 12 kB / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2734, allocations: 0 / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2734, allocations: 144 / 419.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.2742, allocations: 0.6479 MB / 420.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2742, allocations: 0 / 420.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2744, allocations: 55.97 kB / 420.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.2745, allocations: 28.84 kB / 420.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2746, allocations: 12 kB / 420.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.2756, allocations: 1.481 MB / 421.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2756, allocations: 4.031 kB / 421.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.2762, allocations: 403.5 kB / 422.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.2762, allocations: 96.83 kB / 422.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2763, allocations: 0 / 422.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2764, allocations: 8 kB / 422.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.2764, allocations: 23.95 kB / 422.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2765, allocations: 8 kB / 422.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.2766, allocations: 140 kB / 422.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2766, allocations: 0 / 422.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.2769, allocations: 59.94 kB / 422.6 MB, free: 3.391 MB / 334.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.0001047/0.277, allocations: 99.25 kB / 422.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.2775, allocations: 294.9 kB / 423 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2775, allocations: 0 / 423 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.2778, allocations: 214.6 kB / 423.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2782, allocations: 44.12 kB / 423.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2792, allocations: 0.669 MB / 423.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.2795, allocations: 0.7482 MB / 424.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.2795, allocations: 13.95 kB / 424.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.2796, allocations: 23.38 kB / 424.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2796, allocations: 0 / 424.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of Templates: time 0.005195/0.2848, allocations: 2.411 MB / 427.1 MB, free: 14.8 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches