Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 79 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 147.1 kB / 23.93 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.62e-05, allocations: 6.578 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002684/0.00271, allocations: 1.719 MB / 320.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.003666, allocations: 0.592 MB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003768, allocations: 1.344 kB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.003876, allocations: 17.41 kB / 321.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.003967, allocations: 37.58 kB / 321.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.004218, allocations: 41.33 kB / 321.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.00441, allocations: 132.8 kB / 321.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004524, allocations: 23.19 kB / 321.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.004653, allocations: 69.08 kB / 321.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.004751, allocations: 35.08 kB / 321.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.004775, allocations: 7.562 kB / 321.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.004869, allocations: 25.97 kB / 321.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.004893, allocations: 18.12 kB / 321.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.004947, allocations: 38.23 kB / 321.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.005201, allocations: 130.6 kB / 321.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.005204, allocations: 3.938 kB / 321.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005205, allocations: 1.281 kB / 321.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.00521, allocations: 0 / 321.8 MB, free: 1.734 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004555/0.005666, allocations: 334.1 kB / 322.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.005701, allocations: 11.33 kB / 322.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.005898, allocations: 27.66 kB / 322.2 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006076, allocations: 130.8 kB / 322.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.006089, allocations: 8.812 kB / 322.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.00612, allocations: 19.48 kB / 322.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.006294, allocations: 90.31 kB / 322.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.006307, allocations: 0 / 322.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.00632, allocations: 9.922 kB / 322.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.006326, allocations: 2.094 kB / 322.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.006448, allocations: 59.61 kB / 322.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.007064, allocations: 380.6 kB / 322.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.007319, allocations: 84.09 kB / 322.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.007364, allocations: 27.88 kB / 322.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.007374, allocations: 1.406 kB / 322.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.007386, allocations: 32.62 kB / 323 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.007388, allocations: 4 kB / 323 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002267/0.007614, allocations: 101.6 kB / 323.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.007633, allocations: 53.38 kB / 323.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.007702, allocations: 118.9 kB / 323.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.007712, allocations: 32.73 kB / 323.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.00775, allocations: 101.7 kB / 323.4 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.007772, allocations: 34.8 kB / 323.4 MB, free: 384 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.007811, allocations: 26.44 kB / 323.4 MB, free: 360 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.007856, allocations: 325.3 kB / 323.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.007903, allocations: 21.88 kB / 323.8 MB, free: 24 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.007989, allocations: 54.53 kB / 323.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.008113, allocations: 82.89 kB / 323.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008115, allocations: 0 / 323.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001851/0.0083, allocations: 113.2 kB / 324 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.008313, allocations: 5.906 kB / 324 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.008318, allocations: 1.266 kB / 324 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.008332, allocations: 2.031 kB / 324 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.008452, allocations: 32.55 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.008461, allocations: 5.328 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.008521, allocations: 3.797 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.008531, allocations: 6.625 kB / 324.1 MB, free: 15.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.008631, allocations: 127.8 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.008664, allocations: 7.234 kB / 324.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.008707, allocations: 15.33 kB / 324.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00871, allocations: 1.781 kB / 324.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.008715, allocations: 0.6562 kB / 324.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008718, allocations: 0 / 324.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.00891, allocations: 145.6 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008911, allocations: 5.5 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.00904, allocations: 20.61 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009043, allocations: 0.75 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.009054, allocations: 0 / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009055, allocations: 1.344 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009057, allocations: 0.6094 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.009309, allocations: 207.1 kB / 324.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.009324, allocations: 5.328 kB / 324.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.009342, allocations: 1.812 kB / 324.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.009421, allocations: 6.141 kB / 324.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.009443, allocations: 4.25 kB / 324.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.009453, allocations: 14.78 kB / 324.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.009517, allocations: 91.89 kB / 324.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009518, allocations: 0 / 324.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.009784, allocations: 25.78 kB / 324.7 MB, free: 15.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001032/0.009887, allocations: 97.84 kB / 324.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01003, allocations: 60.27 kB / 324.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.01003, allocations: 0 / 324.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.01008, allocations: 28.7 kB / 324.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.01039, allocations: 24.78 kB / 325 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.01105, allocations: 340.8 kB / 325.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.01114, allocations: 89.2 kB / 325.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.723e-05/0.01118, allocations: 6.922 kB / 325.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.01122, allocations: 20.56 kB / 325.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.01122, allocations: 0 / 325.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Templates: time 0.003582/0.0148, allocations: 0.9147 MB / 326.3 MB, free: 14.64 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.153827056288719]