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.001246/0.001246, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001281/0.001281, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.431/1.431, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.001505/0.001505, allocations: 51.92 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003451/0.1073, allocations: 1.775 MB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1085, allocations: 0.6466 MB / 421.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.1085, allocations: 0 / 421.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1087, allocations: 15.86 kB / 421.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.1088, allocations: 35.69 kB / 421.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.109, allocations: 51.83 kB / 421.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1092, allocations: 119.4 kB / 421.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1093, allocations: 27.95 kB / 421.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.1094, allocations: 47.8 kB / 421.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1095, allocations: 43.78 kB / 421.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1095, allocations: 8 kB / 421.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.1096, allocations: 24 kB / 421.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.1097, allocations: 15.97 kB / 421.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.1097, allocations: 55.73 kB / 421.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.11, allocations: 127.5 kB / 421.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.11, allocations: 4 kB / 421.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.11, allocations: 0 / 421.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.11, allocations: 0 / 421.9 MB, free: 9.113 MB / 350.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.0006347/0.1106, allocations: 407.2 kB / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1107, allocations: 15.89 kB / 422.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.1109, allocations: 24.88 kB / 422.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1111, allocations: 204.1 kB / 422.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1112, allocations: 12.56 kB / 422.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1112, allocations: 12.33 kB / 422.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1114, allocations: 93.59 kB / 422.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1114, allocations: 0 / 422.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1114, allocations: 7.938 kB / 422.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1114, allocations: 4 kB / 422.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1116, allocations: 55.97 kB / 422.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.1124, allocations: 493.2 kB / 423.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1127, allocations: 78.62 kB / 423.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.1127, allocations: 24.86 kB / 423.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1127, allocations: 0 / 423.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1128, allocations: 42.44 kB / 423.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.1128, allocations: 4 kB / 423.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.113, allocations: 93.67 kB / 423.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1131, allocations: 55.34 kB / 423.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1132, allocations: 125.7 kB / 423.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1132, allocations: 25.7 kB / 423.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.1133, allocations: 108 kB / 423.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1133, allocations: 31.89 kB / 423.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.1134, allocations: 29.7 kB / 423.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1135, allocations: 318.8 kB / 424.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.1136, allocations: 23.98 kB / 424.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1136, allocations: 51.36 kB / 424.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1138, allocations: 83.36 kB / 424.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1138, allocations: 4 kB / 424.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000183/0.1139, allocations: 109.5 kB / 424.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.114, allocations: 4 kB / 424.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.114, allocations: 4 kB / 424.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.114, allocations: 0 / 424.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1141, allocations: 31.92 kB / 424.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1141, allocations: 8.25 kB / 424.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.1142, allocations: 3.953 kB / 424.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1142, allocations: 8.094 kB / 424.5 MB, free: 6.312 MB / 350.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.0001042/0.1143, allocations: 125.7 kB / 424.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1143, allocations: 7.953 kB / 424.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1143, allocations: 12.38 kB / 424.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1143, allocations: 0 / 424.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1143, allocations: 3.938 kB / 424.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1144, allocations: 3.984 kB / 424.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1146, allocations: 193.6 kB / 424.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1146, allocations: 4 kB / 424.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1147, allocations: 23.98 kB / 424.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1147, allocations: 0 / 424.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1147, allocations: 0 / 424.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1147, allocations: 7.938 kB / 424.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1147, allocations: 7.938 kB / 424.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.115, allocations: 211.4 kB / 425.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1151, allocations: 85.06 kB / 425.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1151, allocations: 0 / 425.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.1152, allocations: 4 kB / 425.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.1152, allocations: 11.97 kB / 425.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1152, allocations: 0 / 425.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.1153, allocations: 95.27 kB / 425.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1153, allocations: 4 kB / 425.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1155, allocations: 27.89 kB / 425.3 MB, free: 5.406 MB / 350.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.0001206/0.1156, allocations: 103.2 kB / 425.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.1158, allocations: 52.05 kB / 425.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1158, allocations: 4.062 kB / 425.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.1158, allocations: 31.92 kB / 425.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1162, allocations: 20.2 kB / 425.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.117, allocations: 452 kB / 425.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1174, allocations: 0.7039 MB / 426.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1174, allocations: 15.44 kB / 426.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1174, allocations: 0 / 426.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003128/0.1205, allocations: 1.321 MB / 428 MB, free: 2.656 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.849595519946888]