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.001799/0.001799, allocations: 120.5 kB / 18.41 MB, free: 4.645 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.002058/0.002058, allocations: 194.7 kB / 21.35 MB, free: 1.711 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.484/1.484, allocations: 222.9 MB / 247 MB, free: 4.176 MB / 190.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.001532/0.001532, allocations: 47.92 kB / 358.6 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 49.44 MB / 408.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003303/0.1195, allocations: 1.764 MB / 409.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1207, allocations: 0.6427 MB / 410.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1209, allocations: 7.938 kB / 410.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.121, allocations: 11.86 kB / 410.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.1211, allocations: 31.7 kB / 410.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1214, allocations: 51.81 kB / 410.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1216, allocations: 127.4 kB / 410.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1217, allocations: 23.98 kB / 410.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.1217, allocations: 43.8 kB / 410.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1219, allocations: 51.83 kB / 410.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1219, allocations: 8 kB / 410.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.122, allocations: 27.98 kB / 410.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.122, allocations: 15.92 kB / 410.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1221, allocations: 51.73 kB / 410.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1223, allocations: 127.5 kB / 411.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1223, allocations: 0 / 411.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1223, allocations: 0 / 411.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.1224, allocations: 0 / 411.1 MB, free: 3.922 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.0006065/0.123, allocations: 415.1 kB / 411.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.123, allocations: 15.89 kB / 411.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1232, allocations: 20.88 kB / 411.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1235, allocations: 204.1 kB / 411.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1236, allocations: 8.562 kB / 411.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1236, allocations: 8.328 kB / 411.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1238, allocations: 98.34 kB / 411.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1238, allocations: 4 kB / 411.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1239, allocations: 4 kB / 411.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1239, allocations: 4 kB / 411.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.124, allocations: 59.89 kB / 411.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.1248, allocations: 485.3 kB / 412.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1251, allocations: 86.59 kB / 412.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.1252, allocations: 24.89 kB / 412.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1252, allocations: 4 kB / 412.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1252, allocations: 30.56 kB / 412.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1252, allocations: 0 / 412.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002489/0.1255, allocations: 89.62 kB / 412.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1255, allocations: 59.34 kB / 412.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1256, allocations: 125.8 kB / 412.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1257, allocations: 29.7 kB / 412.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1258, allocations: 111.9 kB / 412.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1258, allocations: 35.88 kB / 412.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.1259, allocations: 25.72 kB / 413 MB, free: 1.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.126, allocations: 322.8 kB / 413.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.1261, allocations: 20 kB / 413.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.1262, allocations: 51.42 kB / 413.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1263, allocations: 79.36 kB / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1263, allocations: 0 / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001756/0.1265, allocations: 113.5 kB / 413.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1265, allocations: 8.094 kB / 413.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1265, allocations: 0 / 413.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1265, allocations: 4 kB / 413.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1267, allocations: 27.92 kB / 413.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1267, allocations: 3.938 kB / 413.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.1267, allocations: 15.89 kB / 413.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1268, allocations: 4 kB / 413.6 MB, free: 1.121 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 0.0001172/0.1269, allocations: 117.8 kB / 413.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.1269, allocations: 15.94 kB / 413.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.127, allocations: 12.38 kB / 413.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.127, allocations: 4 kB / 413.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.127, allocations: 3.938 kB / 413.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.127, allocations: 0 / 413.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1273, allocations: 193.6 kB / 413.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1273, allocations: 0 / 413.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1274, allocations: 27.94 kB / 414 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1275, allocations: 0 / 414 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1275, allocations: 0 / 414 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1275, allocations: 3.984 kB / 414 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1275, allocations: 3.938 kB / 414 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1278, allocations: 212 kB / 414.2 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1278, allocations: 81.06 kB / 414.3 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1279, allocations: 4 kB / 414.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.1279, allocations: 0 / 414.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.128, allocations: 3.938 kB / 414.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.128, allocations: 7.938 kB / 414.3 MB, free: 360 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.1281, allocations: 103.1 kB / 414.4 MB, free: 256 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1281, allocations: 4 kB / 414.4 MB, free: 252 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1283, allocations: 27.89 kB / 414.4 MB, free: 224 kB / 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.000134/0.1285, allocations: 107.2 kB / 414.5 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1286, allocations: 55.92 kB / 414.6 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.1287, allocations: 0 / 414.6 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.1287, allocations: 28.39 kB / 414.6 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.129, allocations: 24.53 kB / 414.6 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.1299, allocations: 464 kB / 415.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1303, allocations: 0.7039 MB / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1304, allocations: 11.44 kB / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1304, allocations: 0 / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Templates: time 0.00333/0.1337, allocations: 1.312 MB / 417.1 MB, free: 13.46 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.831183115020394]