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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 109.2 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 51.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2454, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002595/0.248, allocations: 1.768 MB / 402.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00086/0.2489, allocations: 0.6349 MB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.249, allocations: 0 / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2491, allocations: 19.8 kB / 403.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.2492, allocations: 43.62 kB / 403.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2494, allocations: 51.8 kB / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2496, allocations: 119.4 kB / 403.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2497, allocations: 35.48 kB / 403.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.2497, allocations: 43.8 kB / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.2498, allocations: 51.77 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2499, allocations: 4 kB / 403.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.25, allocations: 27.98 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.25, allocations: 15.94 kB / 403.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.25, allocations: 51.8 kB / 403.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.2502, allocations: 119.4 kB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2502, allocations: 4 kB / 403.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2503, allocations: 4 kB / 403.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2503, allocations: 0 / 403.7 MB, free: 5.887 MB / 318.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.0004844/0.2508, allocations: 411.1 kB / 404.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.2508, allocations: 15.83 kB / 404.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.251, allocations: 24.88 kB / 404.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2512, allocations: 192.2 kB / 404.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2512, allocations: 12.56 kB / 404.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.2512, allocations: 16.33 kB / 404.3 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.2514, allocations: 91.09 kB / 404.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2514, allocations: 0 / 404.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2514, allocations: 11.98 kB / 404.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2514, allocations: 0 / 404.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2516, allocations: 59.95 kB / 404.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.2522, allocations: 485.3 kB / 405 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.2525, allocations: 86.52 kB / 405.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.2525, allocations: 28.89 kB / 405.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2525, allocations: 0 / 405.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2526, allocations: 34.56 kB / 405.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.2526, allocations: 4 kB / 405.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000213/0.2528, allocations: 93.62 kB / 405.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2528, allocations: 55.34 kB / 405.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.2529, allocations: 133.7 kB / 405.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2529, allocations: 25.7 kB / 405.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.253, allocations: 104.1 kB / 405.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.253, allocations: 35.73 kB / 405.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.2531, allocations: 29.64 kB / 405.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2532, allocations: 322.8 kB / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.2532, allocations: 23.98 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.2533, allocations: 54.42 kB / 406 MB, free: 3.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2534, allocations: 71.38 kB / 406.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2534, allocations: 4 kB / 406.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001565/0.2536, allocations: 113.5 kB / 406.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2536, allocations: 8 kB / 406.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2536, allocations: 0 / 406.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2537, allocations: 0 / 406.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2538, allocations: 35.86 kB / 406.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2538, allocations: 3.938 kB / 406.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.2538, allocations: 7.953 kB / 406.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2539, allocations: 4 kB / 406.2 MB, free: 3.09 MB / 318.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 7.74e-05/0.2539, allocations: 121.9 kB / 406.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.254, allocations: 7.953 kB / 406.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.254, allocations: 12.38 kB / 406.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.254, allocations: 3.984 kB / 406.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.254, allocations: 3.938 kB / 406.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.254, allocations: 0 / 406.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.2542, allocations: 197.6 kB / 406.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2542, allocations: 4 kB / 406.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.2544, allocations: 23.92 kB / 406.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2544, allocations: 4 kB / 406.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2544, allocations: 4 kB / 406.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2544, allocations: 0 / 406.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2544, allocations: 4.031 kB / 406.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.2546, allocations: 207.4 kB / 406.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.2547, allocations: 85.06 kB / 406.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2547, allocations: 4.031 kB / 406.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2548, allocations: 4 kB / 406.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.2548, allocations: 11.94 kB / 406.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2548, allocations: 0 / 406.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.873e-05/0.2549, allocations: 95.27 kB / 407 MB, free: 2.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2549, allocations: 0 / 407 MB, free: 2.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.2551, allocations: 27.95 kB / 407 MB, free: 2.191 MB / 318.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 8.966e-05/0.2552, allocations: 103.1 kB / 407.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2553, allocations: 63.91 kB / 407.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2554, allocations: 4.188 kB / 407.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.2554, allocations: 24.39 kB / 407.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2557, allocations: 20.12 kB / 407.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.2564, allocations: 430.2 kB / 407.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2566, allocations: 0.7078 MB / 408.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2567, allocations: 8.422 kB / 408.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.2567, allocations: 11.44 kB / 408.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2567, allocations: 0 / 408.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of Templates: time 0.002814/0.2595, allocations: 0.9247 MB / 409.3 MB, free: 15.86 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches