Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 115.3 kB / 17.06 MB, free: 6 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.001145/0.001145, allocations: 196 kB / 18 MB, free: 5.078 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000936/0.000936, allocations: 47.94 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2525, allocations: 49.43 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003639/0.2562, allocations: 2.348 MB / 403.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.2571, allocations: 0.5843 MB / 403.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2573, allocations: 4 kB / 403.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2574, allocations: 43.58 kB / 403.7 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2576, allocations: 79.33 kB / 403.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2578, allocations: 51.88 kB / 403.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2581, allocations: 262.8 kB / 404.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.2583, allocations: 110.7 kB / 404.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2585, allocations: 115.5 kB / 404.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2586, allocations: 107.5 kB / 404.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2587, allocations: 20 kB / 404.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.338e-05/0.2587, allocations: 27.94 kB / 404.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.2587, allocations: 43.84 kB / 404.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2589, allocations: 135.3 kB / 404.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.2592, allocations: 256.3 kB / 404.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2592, allocations: 4 kB / 404.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.2592, allocations: 0 / 404.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2592, allocations: 7.938 kB / 404.9 MB, free: 4.832 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008434/0.2601, allocations: 0.5146 MB / 405.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2601, allocations: 11.89 kB / 405.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2602, allocations: 28.56 kB / 405.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.2606, allocations: 253.2 kB / 405.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2606, allocations: 20.81 kB / 405.7 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.2607, allocations: 24.38 kB / 405.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.2611, allocations: 191.6 kB / 405.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2611, allocations: 3.906 kB / 405.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.2612, allocations: 15.98 kB / 405.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2612, allocations: 4 kB / 405.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2615, allocations: 137.7 kB / 406.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2625, allocations: 0.6307 MB / 406.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.2628, allocations: 177.4 kB / 406.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.263, allocations: 96.2 kB / 407 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.263, allocations: 4 kB / 407 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2631, allocations: 38.55 kB / 407 MB, free: 2.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.2631, allocations: 4 kB / 407 MB, free: 2.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001906/0.265, allocations: 1.068 MB / 408.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.265, allocations: 59.34 kB / 408.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.2652, allocations: 176 kB / 408.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2652, allocations: 37.7 kB / 408.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.2653, allocations: 140.6 kB / 408.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.2654, allocations: 110.3 kB / 408.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/0.2655, allocations: 61.59 kB / 408.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2656, allocations: 338.8 kB / 409 MB, free: 432 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2657, allocations: 63.97 kB / 409.1 MB, free: 368 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2659, allocations: 115.5 kB / 409.2 MB, free: 244 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.2663, allocations: 189.4 kB / 409.4 MB, free: 48 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2663, allocations: 4 kB / 409.4 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005142/0.2668, allocations: 298.3 kB / 409.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2668, allocations: 4 kB / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2668, allocations: 0 / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.267, allocations: 44.83 kB / 409.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2673, allocations: 63.84 kB / 409.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.2688, allocations: 1.74 MB / 411.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.269, allocations: 8.031 kB / 411.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.269, allocations: 12 kB / 411.5 MB, free: 13.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.2691, allocations: 141.8 kB / 411.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.2692, allocations: 23.66 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.2693, allocations: 30.66 kB / 411.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2693, allocations: 4 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2693, allocations: 4.062 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2693, allocations: 3.984 kB / 411.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2704, allocations: 0.7775 MB / 412.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2704, allocations: 96 / 412.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.2707, allocations: 67.91 kB / 412.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.2708, allocations: 28.84 kB / 412.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2708, allocations: 11.98 kB / 412.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.272, allocations: 1.485 MB / 414.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.272, allocations: 0 / 414.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.2727, allocations: 482.5 kB / 414.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.2727, allocations: 92.83 kB / 414.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2728, allocations: 15.97 kB / 414.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2729, allocations: 8 kB / 414.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.273, allocations: 27.97 kB / 414.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.273, allocations: 8 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.2731, allocations: 135.2 kB / 414.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2731, allocations: 0 / 414.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.2735, allocations: 68 kB / 414.9 MB, free: 10.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001278/0.2736, allocations: 112.8 kB / 415 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.2742, allocations: 331.7 kB / 415.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2742, allocations: 4 kB / 415.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.2746, allocations: 242.4 kB / 415.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.275, allocations: 48.12 kB / 415.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2763, allocations: 0.7253 MB / 416.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2766, allocations: 0.7564 MB / 417.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.2767, allocations: 22.28 kB / 417.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.2768, allocations: 27.44 kB / 417.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2768, allocations: 0 / 417.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of Templates: time 0.006099/0.2829, allocations: 2.705 MB / 419.9 MB, free: 5.016 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches