Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 169.2 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9573/0.9573, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.555e-05, allocations: 2.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002485/0.002501, allocations: 2.036 MB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000777/0.003278, allocations: 0.6778 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.003359, allocations: 0 / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.003463, allocations: 19.78 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.003528, allocations: 43.64 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.003738, allocations: 59.73 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.003878, allocations: 155.2 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.003976, allocations: 21.3 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.00407, allocations: 87.72 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.004153, allocations: 39.91 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.004174, allocations: 12 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.004246, allocations: 31.97 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.004267, allocations: 19.92 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.004304, allocations: 43.84 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.004485, allocations: 119.6 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004487, allocations: 0 / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004488, allocations: 0 / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004492, allocations: 0 / 276.7 MB, free: 13.88 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.0004118/0.004903, allocations: 467.9 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004937, allocations: 23.97 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.005069, allocations: 32.83 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.005201, allocations: 155.5 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005213, allocations: 12.36 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.005234, allocations: 12.38 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.005394, allocations: 94.84 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.005406, allocations: 4.141 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.005421, allocations: 11.92 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005428, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.005504, allocations: 35.84 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.006026, allocations: 431.1 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.006204, allocations: 83.05 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.00624, allocations: 23.72 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.006251, allocations: 4 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.006274, allocations: 37.33 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.006276, allocations: 0 / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004375/0.006713, allocations: 286.1 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.006739, allocations: 51.41 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.006837, allocations: 201.1 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.00685, allocations: 29.7 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.006921, allocations: 163 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.006954, allocations: 51.52 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.007008, allocations: 39.36 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.007141, allocations: 0.4962 MB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.007167, allocations: 8 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.007222, allocations: 62.61 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.007311, allocations: 74.67 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007312, allocations: 4 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001483/0.00746, allocations: 117.5 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007472, allocations: 4 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007477, allocations: 0 / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.00749, allocations: 4 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.007604, allocations: 31.98 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.007607, allocations: 0 / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.00766, allocations: 11.94 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007668, allocations: 4 kB / 279.7 MB, free: 10.59 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 (18): * Single equations (assignments): 18 * 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 7.529e-05/0.007744, allocations: 172.6 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.007775, allocations: 15.95 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.007807, allocations: 16.78 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.007811, allocations: 4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007812, allocations: 0 / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.007817, allocations: 3.938 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.008196, allocations: 389.5 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.008198, allocations: 7.984 kB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.008314, allocations: 39.98 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008317, allocations: 4 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.008326, allocations: 0 / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008327, allocations: 0 / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.00833, allocations: 7.938 kB / 280.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.008541, allocations: 278.7 kB / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.008553, allocations: 11.91 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.00857, allocations: 8 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.008645, allocations: 3.984 kB / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.008677, allocations: 15.92 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.008683, allocations: 8 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.008733, allocations: 139.2 kB / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008733, allocations: 0 / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.008976, allocations: 28 kB / 280.8 MB, free: 9.387 MB / 266.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 (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 Backend phase and start with SimCode phase: time 7.833e-05/0.009055, allocations: 103.2 kB / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.009171, allocations: 71.47 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.009172, allocations: 0 / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.009221, allocations: 43.59 kB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.009494, allocations: 23.33 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.01015, allocations: 417.9 kB / 281.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.0102, allocations: 67.34 kB / 281.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.01025, allocations: 16.64 kB / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.01033, allocations: 90.19 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01033, allocations: 0 / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of Templates: time 0.003618/0.01395, allocations: 1.561 MB / 283.2 MB, free: 6.969 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.5706295459531248]