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.001197/0.001197, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.00172/0.00172, allocations: 167.1 kB / 25.75 MB, free: 8.598 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.9531/0.9531, allocations: 158.6 MB / 187.5 MB, free: 2.934 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 2.044e-06/2.044e-06, allocations: 0 / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.007e-05, allocations: 6.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003289/0.003319, allocations: 1.811 MB / 252.9 MB, free: 6 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.004283, allocations: 0.6747 MB / 253.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.004367, allocations: 0 / 253.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.004487, allocations: 15.86 kB / 253.6 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.004551, allocations: 47.58 kB / 253.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.004785, allocations: 43.81 kB / 253.7 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.00506, allocations: 127.3 kB / 253.8 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.005171, allocations: 19.98 kB / 253.8 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.005248, allocations: 67.81 kB / 253.9 MB, free: 5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.005328, allocations: 31.91 kB / 253.9 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.005345, allocations: 8 kB / 253.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.005413, allocations: 27.98 kB / 254 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.005434, allocations: 23.91 kB / 254 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.005475, allocations: 31.92 kB / 254 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005669, allocations: 99.66 kB / 254.1 MB, free: 4.781 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005673, allocations: 0 / 254.1 MB, free: 4.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.005675, allocations: 4 kB / 254.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.005681, allocations: 0 / 254.1 MB, free: 4.777 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.0004989/0.00618, allocations: 436.3 kB / 254.5 MB, free: 4.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.006221, allocations: 11.98 kB / 254.5 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.006398, allocations: 32.88 kB / 254.6 MB, free: 4.273 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.006633, allocations: 148.4 kB / 254.7 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.006645, allocations: 8.562 kB / 254.7 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.006667, allocations: 4.375 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.006796, allocations: 78.34 kB / 254.8 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006807, allocations: 4 kB / 254.8 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006818, allocations: 4 kB / 254.8 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.006827, allocations: 4 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.006904, allocations: 35.91 kB / 254.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.007395, allocations: 434.7 kB / 255.3 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.0076, allocations: 71.06 kB / 255.4 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.007633, allocations: 23.72 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.007644, allocations: 4 kB / 255.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.007665, allocations: 37.33 kB / 255.4 MB, free: 3.336 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.007667, allocations: 0 / 255.4 MB, free: 3.336 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.000174/0.007841, allocations: 77.64 kB / 255.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.007873, allocations: 55.41 kB / 255.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.007972, allocations: 186.2 kB / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.007983, allocations: 29.7 kB / 255.8 MB, free: 2.953 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.008047, allocations: 150.7 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.008068, allocations: 31.89 kB / 255.9 MB, free: 2.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.008106, allocations: 31.38 kB / 256 MB, free: 2.73 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002633/0.008369, allocations: 0.4961 MB / 256.5 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.008395, allocations: 8 kB / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.008442, allocations: 57.55 kB / 256.5 MB, free: 2.145 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.008549, allocations: 90.62 kB / 256.6 MB, free: 2.039 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.008552, allocations: 4 kB / 256.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000113/0.008665, allocations: 97.52 kB / 256.7 MB, free: 1.934 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.008678, allocations: 4 kB / 256.7 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008683, allocations: 3.938 kB / 256.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.0087, allocations: 4 kB / 256.7 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.008777, allocations: 23.98 kB / 256.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.008783, allocations: 0 / 256.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.008816, allocations: 15.89 kB / 256.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008823, allocations: 4.094 kB / 256.8 MB, free: 1.879 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 7.177e-05/0.008894, allocations: 176.4 kB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.008913, allocations: 7.953 kB / 256.9 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.008945, allocations: 16.42 kB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008948, allocations: 4 kB / 257 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008951, allocations: 0 / 257 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008955, allocations: 0 / 257 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.009076, allocations: 140.5 kB / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009077, allocations: 0 / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.009147, allocations: 23.98 kB / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.009148, allocations: 0 / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.009159, allocations: 8 kB / 257.1 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00916, allocations: 0 / 257.1 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.009161, allocations: 0 / 257.1 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.009344, allocations: 243.7 kB / 257.4 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.009353, allocations: 11.89 kB / 257.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.009366, allocations: 0 / 257.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.009405, allocations: 8 kB / 257.4 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.009422, allocations: 3.984 kB / 257.4 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.009426, allocations: 4 kB / 257.4 MB, free: 1.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.009471, allocations: 139.2 kB / 257.5 MB, free: 1.043 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009471, allocations: 4 kB / 257.5 MB, free: 1.039 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.009631, allocations: 23.95 kB / 257.6 MB, free: 1.016 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 7.987e-05/0.009711, allocations: 95.25 kB / 257.7 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.00982, allocations: 51.59 kB / 257.7 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009821, allocations: 0 / 257.7 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.009846, allocations: 35.56 kB / 257.7 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01007, allocations: 20.47 kB / 257.8 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.01082, allocations: 361.5 kB / 258.1 MB, free: 428 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01086, allocations: 71.33 kB / 258.2 MB, free: 336 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01089, allocations: 4.5 kB / 258.2 MB, free: 332 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.01092, allocations: 12.5 kB / 258.2 MB, free: 316 kB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01092, allocations: 0 / 258.2 MB, free: 316 kB / 234.7 MB Notification: Performance of Templates: time 0.002478/0.0134, allocations: 0.9308 MB / 259.1 MB, free: 15.38 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.659635074902326]