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.0009318/0.0009318, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009648/0.0009648, allocations: 166.9 kB / 25.7 MB, free: 8.426 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.9264/0.9264, allocations: 158.6 MB / 187.6 MB, free: 2.773 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 1.914e-06/1.914e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.368e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00226/0.002284, allocations: 1.858 MB / 253.4 MB, free: 5.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.003094, allocations: 0.6746 MB / 254.1 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.003166, allocations: 0 / 254.1 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003274, allocations: 19.78 kB / 254.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.003338, allocations: 47.64 kB / 254.1 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.003517, allocations: 43.86 kB / 254.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003645, allocations: 127.3 kB / 254.3 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.003742, allocations: 27.84 kB / 254.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.003816, allocations: 59.89 kB / 254.4 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.003902, allocations: 35.89 kB / 254.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.003919, allocations: 8 kB / 254.4 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.004, allocations: 27.98 kB / 254.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.004019, allocations: 19.91 kB / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.004051, allocations: 35.92 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.004196, allocations: 99.66 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.004197, allocations: 0 / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004198, allocations: 0 / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.004202, allocations: 0 / 254.6 MB, free: 4.145 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.0003361/0.004538, allocations: 308.7 kB / 254.9 MB, free: 3.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.004569, allocations: 15.97 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.004709, allocations: 36.84 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.004838, allocations: 129.6 kB / 255.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.004849, allocations: 4.562 kB / 255.1 MB, free: 3.613 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.004868, allocations: 12.38 kB / 255.1 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.004965, allocations: 74.33 kB / 255.2 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.004978, allocations: 7.922 kB / 255.2 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.004986, allocations: 4 kB / 255.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004992, allocations: 4 kB / 255.2 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/0.005045, allocations: 27.92 kB / 255.2 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.005413, allocations: 311.2 kB / 255.5 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.00558, allocations: 62.47 kB / 255.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.005602, allocations: 12.86 kB / 255.6 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.005612, allocations: 4 kB / 255.6 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.005634, allocations: 34.56 kB / 255.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.005635, allocations: 0 / 255.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001296/0.005765, allocations: 65.61 kB / 255.7 MB, free: 2.953 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.005792, allocations: 51.41 kB / 255.8 MB, free: 2.891 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.00597, allocations: 122.8 kB / 255.9 MB, free: 2.758 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005981, allocations: 29.69 kB / 255.9 MB, free: 2.723 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.006024, allocations: 111.9 kB / 256 MB, free: 2.609 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.006052, allocations: 39.72 kB / 256.1 MB, free: 2.57 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.006082, allocations: 29.69 kB / 256.1 MB, free: 2.535 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.006164, allocations: 322.8 kB / 256.4 MB, free: 2.211 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.006176, allocations: 7.984 kB / 256.4 MB, free: 2.203 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.006207, allocations: 38.25 kB / 256.5 MB, free: 2.156 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.006261, allocations: 63.27 kB / 256.5 MB, free: 2.082 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006263, allocations: 0 / 256.5 MB, free: 2.082 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.634e-05/0.00634, allocations: 77.61 kB / 256.6 MB, free: 2 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006353, allocations: 8 kB / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.006357, allocations: 0 / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006371, allocations: 0 / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.006467, allocations: 35.91 kB / 256.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.006472, allocations: 4 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.006501, allocations: 15.89 kB / 256.7 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.006506, allocations: 0 / 256.7 MB, free: 1.938 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.842e-05/0.006565, allocations: 121.9 kB / 256.8 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.006581, allocations: 4 kB / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.006607, allocations: 16.42 kB / 256.8 MB, free: 1.789 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.006609, allocations: 4 kB / 256.8 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006611, allocations: 3.938 kB / 256.8 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006613, allocations: 0 / 256.8 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.006705, allocations: 89.8 kB / 256.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006706, allocations: 7.938 kB / 256.9 MB, free: 1.668 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.006776, allocations: 27.5 kB / 256.9 MB, free: 1.645 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.006777, allocations: 0 / 256.9 MB, free: 1.645 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006785, allocations: 8 kB / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.006785, allocations: 4 kB / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006786, allocations: 0 / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.006901, allocations: 171.5 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.00691, allocations: 7.891 kB / 257.1 MB, free: 1.441 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.006922, allocations: 4 kB / 257.1 MB, free: 1.438 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.006956, allocations: 3.938 kB / 257.1 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.006968, allocations: 3.984 kB / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006971, allocations: 4 kB / 257.1 MB, free: 1.426 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.006986, allocations: 24.83 kB / 257.1 MB, free: 1.398 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006986, allocations: 0 / 257.1 MB, free: 1.398 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.007113, allocations: 27.95 kB / 257.2 MB, free: 1.371 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 6.047e-05/0.007174, allocations: 76.86 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.007246, allocations: 44.77 kB / 257.3 MB, free: 1.242 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007248, allocations: 0 / 257.3 MB, free: 1.242 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.007268, allocations: 28.77 kB / 257.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.00742, allocations: 23.92 kB / 257.3 MB, free: 1.188 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.007977, allocations: 316.6 kB / 257.7 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.00801, allocations: 63.34 kB / 257.7 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.008041, allocations: 8.5 kB / 257.7 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.0081, allocations: 67.36 kB / 257.8 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of SimCode: time 3.41e-07/0.0081, allocations: 0 / 257.8 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of Templates: time 0.002326/0.01043, allocations: 1.09 MB / 258.9 MB, free: 15.62 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 -s gbode -gbm=radauIIA3 -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.5344276293180883]