Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001418/0.001418, allocations: 92.31 kB / 21.73 MB, free: 2.805 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.001481/0.001481, allocations: 164.8 kB / 25.02 MB, free: 8.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 158.6 MB / 186.8 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.912e-05, allocations: 2.312 kB / 250.4 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004866/0.004906, allocations: 1.72 MB / 252.1 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.006758, allocations: 0.6513 MB / 252.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.006888, allocations: 0 / 252.7 MB, free: 1.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.00707, allocations: 11.86 kB / 252.7 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.007208, allocations: 39.64 kB / 252.8 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.007552, allocations: 51.8 kB / 252.8 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.007839, allocations: 127.3 kB / 252.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.008002, allocations: 19.98 kB / 253 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.008165, allocations: 67.88 kB / 253 MB, free: 1.246 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.008305, allocations: 35.89 kB / 253.1 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.008343, allocations: 8 kB / 253.1 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.008462, allocations: 19.98 kB / 253.1 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.008503, allocations: 15.94 kB / 253.1 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.008596, allocations: 39.91 kB / 253.1 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.008974, allocations: 131.6 kB / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.00898, allocations: 0 / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.008982, allocations: 0 / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.008991, allocations: 4 kB / 253.3 MB, free: 0.9961 MB / 234.7 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.0007983/0.009789, allocations: 338 kB / 253.6 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.009839, allocations: 11.98 kB / 253.6 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.01015, allocations: 32.88 kB / 253.7 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.01052, allocations: 133.6 kB / 253.8 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.01054, allocations: 8.562 kB / 253.8 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.01059, allocations: 12.36 kB / 253.8 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.01088, allocations: 98.28 kB / 253.9 MB, free: 324 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.0109, allocations: 0 / 253.9 MB, free: 324 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.01092, allocations: 8 kB / 253.9 MB, free: 316 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.01093, allocations: 4 kB / 253.9 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.01112, allocations: 51.97 kB / 254 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01222, allocations: 387.4 kB / 254.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.01262, allocations: 86.52 kB / 254.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.01269, allocations: 20.86 kB / 254.4 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01271, allocations: 0 / 254.4 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.01275, allocations: 42.59 kB / 254.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.01275, allocations: 0 / 254.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.01317, allocations: 101.8 kB / 254.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.01323, allocations: 51.41 kB / 254.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01342, allocations: 117.8 kB / 254.8 MB, free: 15.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.01346, allocations: 29.69 kB / 254.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.0136, allocations: 107.9 kB / 254.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.01365, allocations: 35.73 kB / 254.9 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.01373, allocations: 25.7 kB / 254.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.01401, allocations: 322.8 kB / 255.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.01411, allocations: 23.98 kB / 255.3 MB, free: 14.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01424, allocations: 55.42 kB / 255.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01445, allocations: 75.31 kB / 255.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01446, allocations: 0 / 255.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003561/0.01481, allocations: 121.5 kB / 255.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01484, allocations: 6.969 kB / 255.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01484, allocations: 0 / 255.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.01487, allocations: 4.094 kB / 255.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.01507, allocations: 31.98 kB / 255.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01508, allocations: 0 / 255.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01518, allocations: 11.95 kB / 255.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.0152, allocations: 4 kB / 255.6 MB, free: 14.49 MB / 250.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 (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.0001908/0.01539, allocations: 129.7 kB / 255.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.01545, allocations: 7.953 kB / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.01551, allocations: 12.44 kB / 255.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01552, allocations: 0 / 255.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.01552, allocations: 0 / 255.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.01553, allocations: 3.984 kB / 255.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.01588, allocations: 149.2 kB / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.01588, allocations: 0 / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.01613, allocations: 19.98 kB / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01613, allocations: 0 / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.01615, allocations: 0 / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01615, allocations: 4 kB / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01615, allocations: 0 / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.01663, allocations: 215.3 kB / 256.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.01665, allocations: 3.953 kB / 256.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.01668, allocations: 4 kB / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.01682, allocations: 4.031 kB / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01685, allocations: 8 kB / 256.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.01686, allocations: 4 kB / 256.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.01698, allocations: 95.64 kB / 256.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01698, allocations: 0 / 256.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.01749, allocations: 27.89 kB / 256.3 MB, free: 13.76 MB / 250.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 (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.0001794/0.01767, allocations: 99.25 kB / 256.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.01794, allocations: 55.91 kB / 256.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01794, allocations: 0 / 256.4 MB, free: 13.6 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.01804, allocations: 32.12 kB / 256.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.01859, allocations: 24.42 kB / 256.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.01973, allocations: 339.8 kB / 256.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.01989, allocations: 84.28 kB / 256.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.01998, allocations: 12.47 kB / 256.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.02004, allocations: 20.5 kB / 256.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02004, allocations: 0 / 256.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of Templates: time 0.006321/0.02636, allocations: 0.9291 MB / 257.8 MB, free: 12.13 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.340219996054657]