Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005282/0.005282, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9869/0.9869, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.634e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002204/0.00222, allocations: 2.024 MB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.00297, allocations: 0.6779 MB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.00305, allocations: 3.938 kB / 275.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003168, allocations: 15.86 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.003229, allocations: 43.58 kB / 275.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.003442, allocations: 63.72 kB / 275.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.003588, allocations: 151.2 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.003711, allocations: 25.28 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.003799, allocations: 75.81 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.003875, allocations: 47.88 kB / 276.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.003893, allocations: 8 kB / 276.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.003952, allocations: 23.98 kB / 276.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.003974, allocations: 27.91 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.004016, allocations: 39.92 kB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.004189, allocations: 115.5 kB / 276.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004191, allocations: 4 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.004192, allocations: 4 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004196, allocations: 0 / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004705/0.004667, allocations: 460 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.004703, allocations: 12.03 kB / 276.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.00486, allocations: 36.83 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.005018, allocations: 148.4 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005029, allocations: 12.38 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.005052, allocations: 12.38 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.005221, allocations: 103.5 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.005232, allocations: 192 / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.005245, allocations: 11.94 kB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.005253, allocations: 0 / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.005341, allocations: 37.94 kB / 277.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.005865, allocations: 474.4 kB / 277.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.006068, allocations: 82.98 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.006107, allocations: 23.72 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.006118, allocations: 4 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.00614, allocations: 33.39 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.006142, allocations: 0 / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001857/0.006327, allocations: 97.69 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006354, allocations: 55.41 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.00644, allocations: 192.2 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.006452, allocations: 29.7 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.00651, allocations: 162.9 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.006532, allocations: 35.69 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.006568, allocations: 35.31 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006672, allocations: 0.4923 MB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.006702, allocations: 15.98 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.006749, allocations: 54.73 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.006828, allocations: 74.67 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.00683, allocations: 4 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001164/0.006947, allocations: 105.5 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006958, allocations: 4 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.006964, allocations: 4 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.006977, allocations: 3.938 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.007062, allocations: 31.92 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.007067, allocations: 7.922 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.007111, allocations: 23.88 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.007116, allocations: 0 / 279.2 MB, free: 11.42 MB / 266.7 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 (14): * Single equations (assignments): 14 * 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 6.537e-05/0.007182, allocations: 168.6 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.007203, allocations: 11.95 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.007229, allocations: 12.78 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.007233, allocations: 7.938 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.007236, allocations: 0 / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007239, allocations: 0 / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.007367, allocations: 156.6 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007368, allocations: 0 / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.007449, allocations: 23.98 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.007451, allocations: 0 / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.00746, allocations: 0 / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007462, allocations: 8 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007464, allocations: 3.938 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.007642, allocations: 247.8 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.007652, allocations: 11.89 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007664, allocations: 0 / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.00773, allocations: 7.984 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.007766, allocations: 15.92 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.007769, allocations: 0 / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.007814, allocations: 139.2 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007815, allocations: 0 / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.007977, allocations: 28 kB / 280 MB, free: 10.53 MB / 266.7 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 (9): * Single equations (assignments): 9 * 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 7.342e-05/0.00805, allocations: 103.2 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.008162, allocations: 55.59 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008163, allocations: 0 / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.008201, allocations: 36.08 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.008416, allocations: 30.88 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.009121, allocations: 398 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.009157, allocations: 67.33 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.009194, allocations: 4.5 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.009267, allocations: 16.5 kB / 280.7 MB, free: 9.777 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009267, allocations: 4 kB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of Templates: time 0.00281/0.01208, allocations: 1.231 MB / 282 MB, free: 8.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7003482540603727]