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.001059/0.001059, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002646, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009827/0.0009827, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002411, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.88/0.88, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1527/1.033, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.838e-05, allocations: 3.531 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00203/0.002048, allocations: 1.861 MB / 241.6 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.00272, allocations: 0.64 MB / 242.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.002786, allocations: 0 / 242.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.617e-05/0.002852, allocations: 15.86 kB / 242.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.002915, allocations: 45.06 kB / 242.3 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.00304, allocations: 51.73 kB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.003169, allocations: 127.3 kB / 242.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.003255, allocations: 20.8 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.003347, allocations: 67.88 kB / 242.6 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.003427, allocations: 36.98 kB / 242.6 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003443, allocations: 8 kB / 242.6 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.003523, allocations: 27.98 kB / 242.6 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.003543, allocations: 15.06 kB / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.003572, allocations: 31.94 kB / 242.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.003729, allocations: 91.62 kB / 242.8 MB, free: 3.352 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.00374, allocations: 0 / 242.8 MB, free: 3.352 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003741, allocations: 0 / 242.8 MB, free: 3.352 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.003748, allocations: 0 / 242.8 MB, free: 3.352 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.0004/0.004148, allocations: 332.3 kB / 243.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.004178, allocations: 21.23 kB / 243.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.004356, allocations: 106 kB / 243.2 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.004491, allocations: 130.7 kB / 243.3 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.004499, allocations: 4.562 kB / 243.3 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.004523, allocations: 15.41 kB / 243.4 MB, free: 2.695 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.004619, allocations: 80.33 kB / 243.4 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004627, allocations: 0 / 243.4 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004636, allocations: 4 kB / 243.4 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004642, allocations: 4 kB / 243.4 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.00469, allocations: 27.97 kB / 243.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.005072, allocations: 316.1 kB / 243.8 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.00521, allocations: 55.45 kB / 243.8 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.005228, allocations: 12.86 kB / 243.8 MB, free: 2.168 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.005237, allocations: 4 kB / 243.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.005257, allocations: 40.28 kB / 243.9 MB, free: 2.117 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.005258, allocations: 0 / 243.9 MB, free: 2.117 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001168/0.005375, allocations: 65.67 kB / 244 MB, free: 2.047 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.005397, allocations: 51.41 kB / 244 MB, free: 1.984 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.005453, allocations: 131.4 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.005462, allocations: 25.7 kB / 244.2 MB, free: 1.812 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.0055, allocations: 108.7 kB / 244.3 MB, free: 1.703 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.005519, allocations: 39.62 kB / 244.3 MB, free: 1.664 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.00555, allocations: 31.66 kB / 244.3 MB, free: 1.629 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.005622, allocations: 322.8 kB / 244.7 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.005635, allocations: 7.984 kB / 244.7 MB, free: 1.297 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.005662, allocations: 35.38 kB / 244.7 MB, free: 1.25 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.005715, allocations: 64.73 kB / 244.8 MB, free: 1.176 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005717, allocations: 0 / 244.8 MB, free: 1.176 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.889e-05/0.005796, allocations: 78.23 kB / 244.8 MB, free: 1.094 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005807, allocations: 4.594 kB / 244.8 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005811, allocations: 0.5625 kB / 244.8 MB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005825, allocations: 7.984 kB / 244.8 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.005944, allocations: 33.58 kB / 244.9 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005948, allocations: 0 / 244.9 MB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.005976, allocations: 8 kB / 244.9 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.005983, allocations: 4 kB / 244.9 MB, free: 1.039 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 5.611e-05/0.006039, allocations: 123 kB / 245 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.006056, allocations: 15.97 kB / 245 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.006083, allocations: 8.438 kB / 245 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006085, allocations: 1.594 kB / 245 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.006086, allocations: 0 / 245 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006089, allocations: 4 kB / 245 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.00619, allocations: 97.75 kB / 245.1 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.006191, allocations: 4.094 kB / 245.1 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.006275, allocations: 23.98 kB / 245.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.006283, allocations: 7.984 kB / 245.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006286, allocations: 0 / 245.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.006293, allocations: 4 kB / 245.2 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006295, allocations: 0 / 245.2 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006296, allocations: 4 kB / 245.2 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006421, allocations: 171.8 kB / 245.3 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.006434, allocations: 7.984 kB / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.006469, allocations: 8 kB / 245.4 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.006482, allocations: 4 kB / 245.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.006484, allocations: 0 / 245.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.663e-05/0.0065, allocations: 28.72 kB / 245.4 MB, free: 500 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006501, allocations: 0 / 245.4 MB, free: 500 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.006635, allocations: 27.94 kB / 245.4 MB, free: 472 kB / 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 7.414e-05/0.006709, allocations: 76.42 kB / 245.5 MB, free: 388 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.006792, allocations: 48.77 kB / 245.5 MB, free: 336 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.006798, allocations: 7.984 kB / 245.6 MB, free: 328 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.006822, allocations: 25.08 kB / 245.6 MB, free: 300 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.007051, allocations: 220.5 kB / 245.8 MB, free: 36 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.009023, allocations: 301 kB / 246.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.009195, allocations: 67.33 kB / 246.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.31e-05/0.009238, allocations: 4.5 kB / 246.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.009303, allocations: 71.36 kB / 246.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.009304, allocations: 0 / 246.2 MB, free: 15.55 MB / 250.7 MB Notification: Performance of Templates: time 0.002662/0.01197, allocations: 1.156 MB / 247.4 MB, free: 14.43 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.332277732901275]