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.001306/0.001306, allocations: 113 kB / 19.04 MB, free: 3.254 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.001259/0.001259, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.467/1.467, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.001533/0.001533, allocations: 51.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 52.14 MB / 420.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002969/0.2551, allocations: 1.797 MB / 422.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2562, allocations: 0.6427 MB / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.2562, allocations: 0 / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.2564, allocations: 15.86 kB / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.2565, allocations: 43.62 kB / 423.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2567, allocations: 47.81 kB / 423.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.2569, allocations: 119.5 kB / 423.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.257, allocations: 23.97 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.2571, allocations: 47.78 kB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.2572, allocations: 47.78 kB / 423.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2572, allocations: 8 kB / 423.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.2573, allocations: 27.98 kB / 423.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.2573, allocations: 11.94 kB / 423.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.2574, allocations: 51.73 kB / 423.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.2576, allocations: 128.8 kB / 423.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2576, allocations: 0 / 423.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2576, allocations: 3.938 kB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2576, allocations: 4 kB / 423.9 MB, free: 12.05 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.0005817/0.2582, allocations: 403.2 kB / 424.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2582, allocations: 15.89 kB / 424.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.2584, allocations: 24.88 kB / 424.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2587, allocations: 196.2 kB / 424.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2587, allocations: 8.562 kB / 424.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.2587, allocations: 12.33 kB / 424.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.2589, allocations: 97.59 kB / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.259, allocations: 0 / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.259, allocations: 11.92 kB / 424.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.259, allocations: 4 kB / 424.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.2591, allocations: 59.91 kB / 424.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.2599, allocations: 485.3 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.2602, allocations: 82.58 kB / 425.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.2603, allocations: 20.91 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2603, allocations: 3.984 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2603, allocations: 38.5 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2603, allocations: 0 / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.2605, allocations: 97.83 kB / 425.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.2606, allocations: 55.34 kB / 425.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2607, allocations: 133.7 kB / 425.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2607, allocations: 25.7 kB / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.2608, allocations: 108 kB / 425.7 MB, free: 10 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.2608, allocations: 27.75 kB / 425.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.2609, allocations: 25.7 kB / 425.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.261, allocations: 314.8 kB / 426.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.2611, allocations: 31.98 kB / 426.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2612, allocations: 62.11 kB / 426.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.2613, allocations: 71.38 kB / 426.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2613, allocations: 7.938 kB / 426.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001838/0.2615, allocations: 113.6 kB / 426.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2615, allocations: 4 kB / 426.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2615, allocations: 4 kB / 426.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2615, allocations: 0 / 426.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2616, allocations: 27.92 kB / 426.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2616, allocations: 8.031 kB / 426.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.2617, allocations: 11.89 kB / 426.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2617, allocations: 4 kB / 426.4 MB, free: 9.258 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 9.451e-05/0.2618, allocations: 121.9 kB / 426.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2618, allocations: 7.953 kB / 426.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2619, allocations: 20.31 kB / 426.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2619, allocations: 3.984 kB / 426.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2619, allocations: 3.938 kB / 426.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2619, allocations: 0 / 426.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2621, allocations: 197.6 kB / 426.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2621, allocations: 4 kB / 426.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2623, allocations: 19.98 kB / 426.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2623, allocations: 0 / 426.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2623, allocations: 8 kB / 426.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2623, allocations: 0 / 426.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2623, allocations: 7.938 kB / 426.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2625, allocations: 195.5 kB / 427 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.2626, allocations: 85.06 kB / 427.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2626, allocations: 11.97 kB / 427.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.2627, allocations: 0 / 427.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.2627, allocations: 7.938 kB / 427.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2627, allocations: 4 kB / 427.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.2628, allocations: 91.27 kB / 427.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2628, allocations: 4 kB / 427.2 MB, free: 8.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.263, allocations: 27.95 kB / 427.2 MB, free: 8.359 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.0001019/0.2631, allocations: 99.19 kB / 427.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.2633, allocations: 60.3 kB / 427.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2633, allocations: 0 / 427.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.2634, allocations: 36.11 kB / 427.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2637, allocations: 23.97 kB / 427.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.2645, allocations: 430.5 kB / 427.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2648, allocations: 0.7039 MB / 428.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.2649, allocations: 16.36 kB / 428.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.2649, allocations: 11.44 kB / 428.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2649, allocations: 0 / 428.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of Templates: time 0.003765/0.2687, allocations: 0.9622 MB / 429.5 MB, free: 5.984 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.322809697128832]