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.001314/0.001314, allocations: 108.6 kB / 21.18 MB, free: 0.7734 MB / 14.72 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.001367/0.001367, allocations: 189.4 kB / 24.47 MB, free: 4.18 MB / 14.72 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 1.438/1.438, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00154/0.00154, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2503, allocations: 52.17 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003232/0.2535, allocations: 1.793 MB / 425.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2546, allocations: 0.6505 MB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.2547, allocations: 3.938 kB / 426.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2548, allocations: 15.86 kB / 426.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.2549, allocations: 39.69 kB / 426.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.2551, allocations: 47.81 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.2553, allocations: 119.4 kB / 426.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2554, allocations: 27.95 kB / 426.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.2555, allocations: 47.8 kB / 426.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2556, allocations: 51.78 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2556, allocations: 8 kB / 426.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.2557, allocations: 23.98 kB / 426.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.2557, allocations: 15.94 kB / 426.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.2558, allocations: 55.72 kB / 426.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.256, allocations: 124.9 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.256, allocations: 0 / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.256, allocations: 0 / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.256, allocations: 0 / 426.9 MB, free: 11.64 MB / 334.1 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.0005787/0.2566, allocations: 334 kB / 427.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2567, allocations: 8.031 kB / 427.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2569, allocations: 28.88 kB / 427.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2571, allocations: 146.3 kB / 427.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2571, allocations: 8.562 kB / 427.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.2572, allocations: 12.33 kB / 427.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2574, allocations: 96.97 kB / 427.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2574, allocations: 0 / 427.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2574, allocations: 8 kB / 427.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2574, allocations: 4 kB / 427.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.2575, allocations: 55.91 kB / 427.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.2584, allocations: 434.6 kB / 428 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.2586, allocations: 82.62 kB / 428.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.2587, allocations: 24.86 kB / 428.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2587, allocations: 0 / 428.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2587, allocations: 34.56 kB / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2587, allocations: 0 / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.2589, allocations: 93.61 kB / 428.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.259, allocations: 59.34 kB / 428.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2591, allocations: 125.7 kB / 428.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.2591, allocations: 29.7 kB / 428.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.2592, allocations: 108 kB / 428.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.2593, allocations: 31.73 kB / 428.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2593, allocations: 25.72 kB / 428.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2595, allocations: 318.8 kB / 428.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2595, allocations: 19.98 kB / 428.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.2596, allocations: 55.42 kB / 429 MB, free: 9.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2597, allocations: 75.53 kB / 429 MB, free: 9.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2597, allocations: 0 / 429 MB, free: 9.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00018/0.2599, allocations: 117.4 kB / 429.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2599, allocations: 4.094 kB / 429.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2599, allocations: 4 kB / 429.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2599, allocations: 7.938 kB / 429.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.26, allocations: 23.94 kB / 429.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2601, allocations: 7.922 kB / 429.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.2601, allocations: 15.95 kB / 429.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.2601, allocations: 4 kB / 429.2 MB, free: 9.078 MB / 334.1 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 9.429e-05/0.2602, allocations: 117.8 kB / 429.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2603, allocations: 7.953 kB / 429.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.2603, allocations: 16.36 kB / 429.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2603, allocations: 4 kB / 429.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2603, allocations: 3.938 kB / 429.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2603, allocations: 0 / 429.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.2605, allocations: 172.6 kB / 429.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2605, allocations: 0 / 429.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2607, allocations: 31.92 kB / 429.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2607, allocations: 0 / 429.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2607, allocations: 0 / 429.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2607, allocations: 0 / 429.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2607, allocations: 3.938 kB / 429.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2609, allocations: 207.5 kB / 429.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.261, allocations: 3.953 kB / 429.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.261, allocations: 4 kB / 429.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.2611, allocations: 0 / 429.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.2611, allocations: 7.969 kB / 429.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2611, allocations: 4 kB / 429.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.2611, allocations: 95.27 kB / 429.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2611, allocations: 4 kB / 429.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.2614, allocations: 27.89 kB / 429.9 MB, free: 8.309 MB / 334.1 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 0.0001112/0.2615, allocations: 99.64 kB / 430 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2617, allocations: 59.91 kB / 430.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2617, allocations: 0 / 430.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/0.2617, allocations: 27.97 kB / 430.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.262, allocations: 27.61 kB / 430.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.2629, allocations: 465.6 kB / 430.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2632, allocations: 0.7039 MB / 431.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.2633, allocations: 11.44 kB / 431.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2633, allocations: 0 / 431.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of Templates: time 0.003208/0.2665, allocations: 1.323 MB / 432.6 MB, free: 5.543 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.892942195059732]