Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.001083/0.001083, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001169/0.001169, allocations: 169.7 kB / 25.33 MB, free: 9.461 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 0.8991/0.8991, allocations: 158.6 MB / 187.2 MB, free: 2.48 MB / 170.7 MB " [Timeout remaining time 179] 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.78e-05, allocations: 6.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002313/0.002341, allocations: 1.809 MB / 252.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.003269, allocations: 0.6747 MB / 253.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.003353, allocations: 4 kB / 253.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.003478, allocations: 19.8 kB / 253.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.003553, allocations: 39.64 kB / 253.6 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003808, allocations: 47.81 kB / 253.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003968, allocations: 131.3 kB / 253.7 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004083, allocations: 13.59 kB / 253.8 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.004168, allocations: 71.86 kB / 253.8 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.004259, allocations: 35.89 kB / 253.9 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004281, allocations: 8 kB / 253.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.004358, allocations: 27.92 kB / 253.9 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004379, allocations: 19.92 kB / 253.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.004419, allocations: 39.91 kB / 254 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.004607, allocations: 99.66 kB / 254.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.00461, allocations: 0 / 254.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004611, allocations: 7.938 kB / 254.1 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.004616, allocations: 0 / 254.1 MB, free: 0.5391 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.0004718/0.005088, allocations: 436.3 kB / 254.5 MB, free: 80 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.005134, allocations: 15.98 kB / 254.5 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.005343, allocations: 36.81 kB / 254.5 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.00553, allocations: 136.5 kB / 254.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005544, allocations: 8.562 kB / 254.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.005569, allocations: 12.33 kB / 254.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.005711, allocations: 82.27 kB / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.005723, allocations: 4 kB / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005736, allocations: 4 kB / 254.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005743, allocations: 0 / 254.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-05/0.00583, allocations: 35.97 kB / 254.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.00654, allocations: 422.8 kB / 255.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.006759, allocations: 91.05 kB / 255.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.006796, allocations: 23.69 kB / 255.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.006806, allocations: 4 kB / 255.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.006827, allocations: 33.39 kB / 255.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.006829, allocations: 224 / 255.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007879/0.007617, allocations: 373.5 kB / 255.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.007649, allocations: 55.41 kB / 255.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.007737, allocations: 176.8 kB / 256 MB, free: 14.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.007749, allocations: 29.69 kB / 256 MB, free: 14.4 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.007805, allocations: 150.7 kB / 256.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.007831, allocations: 51.59 kB / 256.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.00787, allocations: 35.36 kB / 256.2 MB, free: 14.15 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.007985, allocations: 0.4961 MB / 256.7 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.008018, allocations: 16 kB / 256.7 MB, free: 13.63 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.008072, allocations: 65.28 kB / 256.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.788e-05/0.00816, allocations: 90.67 kB / 256.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.008161, allocations: 0 / 256.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001387/0.0083, allocations: 117.4 kB / 257 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.008316, allocations: 12.06 kB / 257 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.008324, allocations: 0 / 257 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.008338, allocations: 0 / 257 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.342e-05/0.008432, allocations: 35.92 kB / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008438, allocations: 0 / 257.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.008468, allocations: 4 kB / 257.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.008476, allocations: 8 kB / 257.1 MB, free: 13.27 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 (17): * Single equations (assignments): 17 * 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.992e-05/0.008546, allocations: 160.5 kB / 257.2 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.008567, allocations: 11.95 kB / 257.2 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.008599, allocations: 20.47 kB / 257.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008601, allocations: 4 kB / 257.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.008605, allocations: 0 / 257.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.00861, allocations: 3.984 kB / 257.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.008964, allocations: 404.6 kB / 257.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008966, allocations: 0 / 257.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.009053, allocations: 27.92 kB / 257.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009056, allocations: 4 kB / 257.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.009066, allocations: 4 kB / 257.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.00907, allocations: 4 kB / 257.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009072, allocations: 8.047 kB / 257.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.009268, allocations: 275.1 kB / 258 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.009279, allocations: 7.953 kB / 258 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.009297, allocations: 8 kB / 258 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.009336, allocations: 0 / 258 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.009357, allocations: 15.86 kB / 258 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.009363, allocations: 7.984 kB / 258 MB, free: 12.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.009404, allocations: 131.2 kB / 258.1 MB, free: 12.1 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009405, allocations: 0 / 258.1 MB, free: 12.1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.009572, allocations: 24 kB / 258.2 MB, free: 12.08 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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 9.179e-05/0.009664, allocations: 111.2 kB / 258.3 MB, free: 11.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.009801, allocations: 72.3 kB / 258.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009803, allocations: 0 / 258.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.009844, allocations: 39.64 kB / 258.4 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.0101, allocations: 24.2 kB / 258.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.0108, allocations: 384.4 kB / 258.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01085, allocations: 75.28 kB / 258.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.0109, allocations: 8.969 kB / 258.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.01093, allocations: 12.5 kB / 258.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01093, allocations: 0 / 258.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of Templates: time 0.002991/0.01392, allocations: 1.195 MB / 260.1 MB, free: 10.1 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/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.5896581667475402]