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.001303/0.001303, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0008511/0.0008511, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 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 0.9128/0.9128, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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 1.322e-06/1.322e-06, allocations: 0 / 268 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.407e-05, allocations: 2.312 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.005507/0.005522, allocations: 1.818 MB / 269.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.006546, allocations: 0.6311 MB / 270.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.006626, allocations: 7.938 kB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.00674, allocations: 15.8 kB / 270.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.006813, allocations: 35.7 kB / 270.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.007037, allocations: 43.81 kB / 270.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.01023, allocations: 131.3 kB / 270.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.01034, allocations: 19.94 kB / 270.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.01044, allocations: 67.8 kB / 270.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.01052, allocations: 39.91 kB / 270.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.01055, allocations: 8 kB / 270.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.127e-05/0.01062, allocations: 27.92 kB / 270.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.01064, allocations: 19.92 kB / 270.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.01069, allocations: 39.91 kB / 270.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.01088, allocations: 91.67 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01088, allocations: 0 / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01088, allocations: 0 / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.01088, allocations: 0 / 271 MB, free: 3.734 MB / 250.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.0004776/0.01136, allocations: 432.4 kB / 271.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01139, allocations: 12.03 kB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.0116, allocations: 40.77 kB / 271.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.01178, allocations: 140.4 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.01179, allocations: 8.562 kB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.01182, allocations: 12.38 kB / 271.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.01197, allocations: 81.16 kB / 271.7 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01199, allocations: 3.984 kB / 271.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.012, allocations: 0 / 271.8 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01201, allocations: 4 kB / 271.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.01214, allocations: 39.97 kB / 271.8 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.01278, allocations: 430.7 kB / 272.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01303, allocations: 79 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.01307, allocations: 15.69 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.01308, allocations: 0 / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.0131, allocations: 45.42 kB / 272.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.01311, allocations: 0 / 272.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002127/0.01332, allocations: 85.52 kB / 272.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.01335, allocations: 55.41 kB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.01345, allocations: 181.8 kB / 272.7 MB, free: 1.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01347, allocations: 25.7 kB / 272.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.01354, allocations: 162.8 kB / 272.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.01356, allocations: 27.75 kB / 272.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.01361, allocations: 31.36 kB / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01373, allocations: 0.4922 MB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.01377, allocations: 15.98 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.01383, allocations: 50.73 kB / 273.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.01394, allocations: 74.67 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01394, allocations: 0 / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00015/0.01409, allocations: 97.52 kB / 273.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01411, allocations: 4 kB / 273.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01411, allocations: 4 kB / 273.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01412, allocations: 0 / 273.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.01438, allocations: 31.92 kB / 273.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01439, allocations: 8.094 kB / 273.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.01444, allocations: 11.88 kB / 273.7 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.01444, allocations: 4 kB / 273.7 MB, free: 0.8359 MB / 250.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.772e-05/0.01452, allocations: 164.5 kB / 273.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.01455, allocations: 11.95 kB / 273.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.01459, allocations: 20.42 kB / 273.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01459, allocations: 0 / 273.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01459, allocations: 0 / 273.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.0146, allocations: 0 / 273.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01476, allocations: 148.5 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01476, allocations: 4 kB / 274 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01487, allocations: 20 kB / 274.1 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01488, allocations: 0 / 274.1 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01489, allocations: 3.984 kB / 274.1 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01489, allocations: 0 / 274.1 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01489, allocations: 0 / 274.1 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.0151, allocations: 247.7 kB / 274.3 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.01511, allocations: 7.891 kB / 274.3 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.01513, allocations: 8 kB / 274.3 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.01519, allocations: 0 / 274.3 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.01521, allocations: 7.922 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01522, allocations: 8 kB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.01528, allocations: 131.2 kB / 274.5 MB, free: 16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01528, allocations: 0 / 274.5 MB, free: 16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.01553, allocations: 27.92 kB / 274.5 MB, free: 15.97 MB / 266.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.823e-05/0.01561, allocations: 95.25 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01574, allocations: 47.61 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01574, allocations: 0 / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.01578, allocations: 31.67 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.016, allocations: 28.59 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.01666, allocations: 366.2 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.0167, allocations: 63.34 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01673, allocations: 12.48 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.01677, allocations: 12.5 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01677, allocations: 0 / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Templates: time 0.002284/0.01905, allocations: 0.9486 MB / 276.1 MB, free: 14.33 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",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.6195464991033077]