Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009523/0.0009523, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009696/0.0009696, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9904/0.9904, allocations: 177.2 MB / 205 MB, free: 5.301 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.377e-05, allocations: 5.266 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002039/0.002053, allocations: 2.045 MB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.002809, allocations: 0.6817 MB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.002885, allocations: 0 / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.002996, allocations: 23.73 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.003067, allocations: 51.56 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.0033, allocations: 51.8 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.003451, allocations: 151.2 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.00356, allocations: 25.3 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.003656, allocations: 83.73 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.003731, allocations: 47.88 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.00375, allocations: 8 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.018e-05/0.00381, allocations: 23.98 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.003833, allocations: 31.84 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.00387, allocations: 35.92 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.004042, allocations: 119.6 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004044, allocations: 0 / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004044, allocations: 0 / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004048, allocations: 0 / 276.3 MB, free: 14.04 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.000443/0.004491, allocations: 472 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.004522, allocations: 8.031 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.004666, allocations: 36.83 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.004806, allocations: 164.3 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004818, allocations: 4.375 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.004842, allocations: 12.38 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.005, allocations: 103.5 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005013, allocations: 8.141 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.005024, allocations: 7.875 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005031, allocations: 4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.00512, allocations: 41.94 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.005629, allocations: 450.5 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.005837, allocations: 87.11 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.005877, allocations: 23.69 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.005888, allocations: 4 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.005913, allocations: 41.31 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.005914, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004756/0.00639, allocations: 313.2 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.006418, allocations: 55.34 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.006509, allocations: 197.9 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.006522, allocations: 29.7 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.006585, allocations: 163 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.006612, allocations: 47.55 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.006651, allocations: 39.36 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00047/0.007121, allocations: 0.4923 MB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.007155, allocations: 19.98 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.007211, allocations: 59.42 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.007306, allocations: 94.66 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007307, allocations: 8 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001392/0.007447, allocations: 117.5 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007458, allocations: 4 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007464, allocations: 4 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007476, allocations: 0 / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.007576, allocations: 31.98 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.007584, allocations: 11.92 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.007623, allocations: 8 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.007631, allocations: 4 kB / 279.4 MB, free: 10.65 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 6.389e-05/0.007695, allocations: 164.6 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.007718, allocations: 19.91 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.007747, allocations: 20.77 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007749, allocations: 3.938 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.007754, allocations: 3.938 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007757, allocations: 4 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.008085, allocations: 409.5 kB / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008086, allocations: 0 / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.008182, allocations: 39.97 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008185, allocations: 4 kB / 280.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.008195, allocations: 7.938 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008197, allocations: 0 / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008199, allocations: 4 kB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.008411, allocations: 287.2 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.008421, allocations: 7.953 kB / 280.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008438, allocations: 7.938 kB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.008489, allocations: 11.94 kB / 280.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.008523, allocations: 7.984 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.008528, allocations: 4 kB / 280.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.008575, allocations: 153.9 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008575, allocations: 0 / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.008738, allocations: 28 kB / 280.6 MB, free: 9.398 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 6.373e-05/0.008802, allocations: 99.25 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.008936, allocations: 82.28 kB / 280.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008937, allocations: 4 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.008983, allocations: 46.66 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.009201, allocations: 24.06 kB / 280.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.009854, allocations: 414 kB / 281.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.009893, allocations: 71.33 kB / 281.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.009936, allocations: 12.64 kB / 281.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.009974, allocations: 16.5 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009975, allocations: 0 / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of Templates: time 0.00303/0.01301, allocations: 1.523 MB / 282.9 MB, free: 7.082 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.74421353219077]