Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09798, allocations: 53.31 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00344/0.1014, allocations: 2.004 MB / 430 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1026, allocations: 0.6936 MB / 430.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.1027, allocations: 0 / 430.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1028, allocations: 23.78 kB / 430.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.1029, allocations: 43.62 kB / 430.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1031, allocations: 51.8 kB / 430.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1033, allocations: 143.3 kB / 431 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1034, allocations: 21.11 kB / 431 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.1035, allocations: 55.78 kB / 431.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1036, allocations: 67.7 kB / 431.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1036, allocations: 8 kB / 431.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.1037, allocations: 27.98 kB / 431.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.1038, allocations: 19.92 kB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.1038, allocations: 63.67 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1041, allocations: 143.4 kB / 431.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1041, allocations: 0 / 431.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1041, allocations: 0 / 431.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1041, allocations: 4 kB / 431.4 MB, free: 0.9844 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000689/0.1048, allocations: 446.8 kB / 431.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1048, allocations: 8.031 kB / 431.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.105, allocations: 24.88 kB / 431.9 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1052, allocations: 208.1 kB / 432.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1053, allocations: 8.375 kB / 432.1 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1053, allocations: 16.31 kB / 432.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1056, allocations: 121.5 kB / 432.2 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1056, allocations: 3.984 kB / 432.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1056, allocations: 8 kB / 432.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1056, allocations: 0 / 432.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1894/0.2951, allocations: 87.19 kB / 432.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.2961, allocations: 0.5123 MB / 432.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.2965, allocations: 105.7 kB / 432.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2966, allocations: 37.75 kB / 433 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2966, allocations: 2.312 kB / 433 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.2966, allocations: 31.66 kB / 433 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2966, allocations: 0 / 433 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004744/0.2971, allocations: 153.1 kB / 433.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2971, allocations: 58.69 kB / 433.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.2972, allocations: 131.4 kB / 433.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.2972, allocations: 26.58 kB / 433.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2973, allocations: 117.7 kB / 433.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2973, allocations: 35.17 kB / 433.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.2974, allocations: 27.92 kB / 433.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.2974, allocations: 323.8 kB / 433.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2975, allocations: 34.8 kB / 433.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2977, allocations: 70.59 kB / 433.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.2979, allocations: 104.1 kB / 434 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2979, allocations: 1.594 kB / 434.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003004/0.2982, allocations: 147.8 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2982, allocations: 8.094 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2982, allocations: 1.938 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2982, allocations: 5.656 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2984, allocations: 37.14 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2984, allocations: 3.406 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.394e-05/0.2985, allocations: 14.98 kB / 434.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2985, allocations: 5.344 kB / 434.3 MB, free: 10.33 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 (14): * Single equations (assignments): 14 * 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.331e-05/0.2986, allocations: 127.5 kB / 434.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.2986, allocations: 7.922 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.2987, allocations: 22.08 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2987, allocations: 1.062 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2987, allocations: 1.156 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2987, allocations: 0.6562 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2989, allocations: 212.6 kB / 434.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2989, allocations: 0 / 434.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.299, allocations: 27.44 kB / 434.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.299, allocations: 1.75 kB / 434.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.299, allocations: 14.31 kB / 434.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.299, allocations: 0 / 434.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.299, allocations: 1 kB / 434.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.2994, allocations: 259.5 kB / 434.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.2995, allocations: 90.77 kB / 435 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2995, allocations: 9.844 kB / 435 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2996, allocations: 11.69 kB / 435 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.2997, allocations: 8.625 kB / 435 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.2997, allocations: 0 / 435 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.335e-05/0.2997, allocations: 105.7 kB / 435.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2997, allocations: 3.938 kB / 435.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3, allocations: 28.91 kB / 435.2 MB, free: 9.699 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 (9): * Single equations (assignments): 9 * 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.581e-05/0.3, allocations: 99.92 kB / 435.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3003, allocations: 92.53 kB / 435.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3003, allocations: 0 / 435.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3004, allocations: 43.89 kB / 435.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3008, allocations: 21.59 kB / 435.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.3015, allocations: 491.6 kB / 435.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3016, allocations: 0.7103 MB / 436.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.3016, allocations: 12.78 kB / 436.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3016, allocations: 0 / 436.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003412/0.3051, allocations: 1.575 MB / 438.2 MB, free: 8.488 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.667058906052262]