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.001406/0.001406, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001446/0.001446, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.424/1.424, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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 0.002626/0.002626, allocations: 47.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2535, allocations: 52.18 MB / 423 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003212/0.2567, allocations: 1.743 MB / 424.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2578, allocations: 0.5805 MB / 425.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.2579, allocations: 7.938 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.258, allocations: 15.86 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.2581, allocations: 31.7 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2583, allocations: 51.81 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.2585, allocations: 115.4 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2586, allocations: 31.95 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.2587, allocations: 43.8 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2588, allocations: 43.78 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2588, allocations: 8 kB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.2589, allocations: 23.98 kB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.259, allocations: 23.91 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.259, allocations: 43.81 kB / 425.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.2592, allocations: 121.8 kB / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2592, allocations: 0 / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2592, allocations: 0 / 425.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2592, allocations: 0 / 425.9 MB, free: 11.61 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005545/0.2598, allocations: 338 kB / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2598, allocations: 12.03 kB / 426.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.26, allocations: 28.86 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2603, allocations: 134.3 kB / 426.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2603, allocations: 8.562 kB / 426.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.2603, allocations: 16.33 kB / 426.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2605, allocations: 89.59 kB / 426.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2605, allocations: 0 / 426.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2606, allocations: 8 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2606, allocations: 4 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.2607, allocations: 67.88 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.2614, allocations: 387.2 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.2617, allocations: 78.62 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.2618, allocations: 28.86 kB / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2618, allocations: 0 / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2618, allocations: 30.56 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2618, allocations: 0 / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000244/0.262, allocations: 101.6 kB / 427.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2621, allocations: 51.41 kB / 427.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2622, allocations: 129.7 kB / 427.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.2622, allocations: 29.7 kB / 427.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.2623, allocations: 104 kB / 427.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2623, allocations: 39.83 kB / 427.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.2624, allocations: 25.72 kB / 427.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2625, allocations: 322.8 kB / 427.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.2626, allocations: 23.98 kB / 427.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.2626, allocations: 49.55 kB / 428 MB, free: 9.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2628, allocations: 83.31 kB / 428.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2628, allocations: 4 kB / 428.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001795/0.263, allocations: 105.6 kB / 428.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.263, allocations: 7.984 kB / 428.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.263, allocations: 4 kB / 428.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.263, allocations: 3.938 kB / 428.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2631, allocations: 23.94 kB / 428.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2631, allocations: 8.094 kB / 428.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.2632, allocations: 7.922 kB / 428.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2632, allocations: 8 kB / 428.2 MB, free: 9.098 MB / 334.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.0001006/0.2633, allocations: 113.9 kB / 428.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2633, allocations: 11.89 kB / 428.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.2634, allocations: 16.38 kB / 428.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2634, allocations: 0 / 428.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2634, allocations: 3.938 kB / 428.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2634, allocations: 3.938 kB / 428.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2636, allocations: 137.2 kB / 428.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2636, allocations: 8 kB / 428.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2637, allocations: 19.98 kB / 428.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2637, allocations: 0 / 428.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2637, allocations: 4 kB / 428.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2637, allocations: 0 / 428.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2637, allocations: 0 / 428.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.264, allocations: 211.4 kB / 428.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.264, allocations: 4 kB / 428.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.264, allocations: 0 / 428.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.2641, allocations: 8 kB / 428.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.2641, allocations: 7.969 kB / 428.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2641, allocations: 8 kB / 428.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.2642, allocations: 95.2 kB / 428.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2642, allocations: 0 / 428.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.2644, allocations: 27.95 kB / 428.9 MB, free: 8.371 MB / 334.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.000109/0.2646, allocations: 95.25 kB / 429 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2647, allocations: 59.91 kB / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2647, allocations: 0 / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.2648, allocations: 23.94 kB / 429.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2651, allocations: 28.67 kB / 429.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.2659, allocations: 420.6 kB / 429.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.799e-05/0.266, allocations: 92.05 kB / 429.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.266, allocations: 8.422 kB / 429.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.266, allocations: 15.62 kB / 429.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.266, allocations: 0 / 429.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of Templates: time 0.003773/0.2698, allocations: 1.062 MB / 430.7 MB, free: 6.559 MB / 334.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.358373891562223]