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.001003/0.001003, allocations: 85.95 kB / 23 MB, free: 1.504 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.001151/0.001151, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9627/0.9627, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.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 1.362e-06/1.362e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.702e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00263/0.002658, allocations: 1.807 MB / 254 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.003573, allocations: 0.6669 MB / 254.7 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.003665, allocations: 4 kB / 254.7 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003783, allocations: 19.78 kB / 254.7 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.003856, allocations: 39.64 kB / 254.8 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.004068, allocations: 47.75 kB / 254.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.004202, allocations: 127.3 kB / 254.9 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004305, allocations: 23.98 kB / 255 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.00438, allocations: 59.88 kB / 255 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004481, allocations: 35.91 kB / 255.1 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.0045, allocations: 4 kB / 255.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.004573, allocations: 27.98 kB / 255.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.004598, allocations: 23.91 kB / 255.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.004633, allocations: 35.91 kB / 255.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004803, allocations: 95.67 kB / 255.2 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.004807, allocations: 0 / 255.2 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004807, allocations: 3.938 kB / 255.2 MB, free: 4.234 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004812, allocations: 4 kB / 255.2 MB, free: 4.23 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.0004444/0.005256, allocations: 440.2 kB / 255.7 MB, free: 3.766 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.005293, allocations: 11.98 kB / 255.7 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.005452, allocations: 36.86 kB / 255.7 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.005606, allocations: 136.5 kB / 255.9 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.00562, allocations: 8.562 kB / 255.9 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.005641, allocations: 8.375 kB / 255.9 MB, free: 3.543 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005746, allocations: 78.28 kB / 256 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.005758, allocations: 0 / 256 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.005772, allocations: 4 kB / 256 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.005779, allocations: 4 kB / 256 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.005838, allocations: 31.91 kB / 256 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.00629, allocations: 411.3 kB / 256.4 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.006458, allocations: 78.97 kB / 256.5 MB, free: 2.898 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.006481, allocations: 23.69 kB / 256.5 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.006491, allocations: 4.031 kB / 256.5 MB, free: 2.867 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.006512, allocations: 33.39 kB / 256.5 MB, free: 2.824 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 2.885e-06/0.006515, allocations: 0 / 256.5 MB, free: 2.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001468/0.006662, allocations: 69.64 kB / 256.6 MB, free: 2.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.006691, allocations: 55.41 kB / 256.7 MB, free: 2.684 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.006768, allocations: 185.9 kB / 256.8 MB, free: 2.484 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006779, allocations: 29.7 kB / 256.9 MB, free: 2.449 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.006839, allocations: 154.7 kB / 257 MB, free: 2.293 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.006859, allocations: 27.75 kB / 257 MB, free: 2.266 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.006893, allocations: 35.34 kB / 257.1 MB, free: 2.223 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.00701, allocations: 0.4961 MB / 257.6 MB, free: 1.715 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.007028, allocations: 11.98 kB / 257.6 MB, free: 1.703 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.007067, allocations: 45.61 kB / 257.6 MB, free: 1.645 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.007134, allocations: 82.62 kB / 257.7 MB, free: 1.543 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007136, allocations: 3.938 kB / 257.7 MB, free: 1.539 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001045/0.007241, allocations: 89.52 kB / 257.8 MB, free: 1.445 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007255, allocations: 4.094 kB / 257.8 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.00726, allocations: 4 kB / 257.8 MB, free: 1.438 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007272, allocations: 4 kB / 257.8 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.007352, allocations: 23.98 kB / 257.8 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.007354, allocations: 0 / 257.8 MB, free: 1.41 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.007388, allocations: 19.83 kB / 257.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.007394, allocations: 4 kB / 257.9 MB, free: 1.387 MB / 234.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.0003381/0.007732, allocations: 160.5 kB / 258 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.007754, allocations: 11.95 kB / 258 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.007784, allocations: 12.42 kB / 258 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007786, allocations: 4 kB / 258 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.007788, allocations: 0 / 258 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.007792, allocations: 4 kB / 258 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.007907, allocations: 121.2 kB / 258.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007908, allocations: 0 / 258.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.007985, allocations: 23.98 kB / 258.2 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007987, allocations: 4 kB / 258.2 MB, free: 1.016 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.007996, allocations: 4 kB / 258.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007997, allocations: 0 / 258.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007999, allocations: 3.938 kB / 258.2 MB, free: 1.008 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.008159, allocations: 235.8 kB / 258.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008169, allocations: 11.89 kB / 258.4 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008182, allocations: 4 kB / 258.4 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.00822, allocations: 4 kB / 258.4 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.008234, allocations: 3.984 kB / 258.5 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.008237, allocations: 4 kB / 258.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.008285, allocations: 131.2 kB / 258.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.008285, allocations: 0 / 258.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.008444, allocations: 27.95 kB / 258.6 MB, free: 0.5742 MB / 234.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 8.998e-05/0.008534, allocations: 99.12 kB / 258.7 MB, free: 480 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.008631, allocations: 55.58 kB / 258.8 MB, free: 420 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008633, allocations: 0 / 258.8 MB, free: 420 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.008654, allocations: 24.08 kB / 258.8 MB, free: 392 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.008892, allocations: 24.06 kB / 258.8 MB, free: 368 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.009554, allocations: 357.5 kB / 259.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.009593, allocations: 71.28 kB / 259.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.009627, allocations: 8.5 kB / 259.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.009691, allocations: 86.19 kB / 259.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.009692, allocations: 0 / 259.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of Templates: time 0.002648/0.01234, allocations: 1.033 MB / 260.4 MB, free: 14.78 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",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.7744858018122613]