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.001474/0.001474, allocations: 109 kB / 21.1 MB, free: 0.7734 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.001557/0.001557, allocations: 225.7 kB / 24.39 MB, free: 4.184 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.356/1.356, allocations: 230.5 MB / 258 MB, free: 8.125 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.001821/0.001821, allocations: 67.88 kB / 378.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2244, allocations: 53.36 MB / 432 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003213/0.2276, allocations: 2.004 MB / 434 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2287, allocations: 0.709 MB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.2288, allocations: 3.938 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2289, allocations: 19.8 kB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.229, allocations: 43.64 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2293, allocations: 47.86 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.2295, allocations: 147.3 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2296, allocations: 21.3 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.2297, allocations: 55.73 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.2298, allocations: 59.77 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2298, allocations: 11.98 kB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.2299, allocations: 31.98 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.2299, allocations: 15.92 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.23, allocations: 67.67 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2303, allocations: 156.6 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2303, allocations: 0 / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2303, allocations: 0 / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2303, allocations: 0 / 435.4 MB, free: 3.609 MB / 334.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.0006676/0.2309, allocations: 365.7 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.231, allocations: 8.031 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2312, allocations: 28.88 kB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2314, allocations: 146.2 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2314, allocations: 8.375 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2314, allocations: 12.38 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2317, allocations: 121.5 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2317, allocations: 0 / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2318, allocations: 4 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2318, allocations: 0 / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.232, allocations: 95.92 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/0.2329, allocations: 470.4 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.2332, allocations: 102.5 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2333, allocations: 44.81 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.2333, allocations: 3.938 kB / 436.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.2333, allocations: 34.56 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.2333, allocations: 0 / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004403/0.2338, allocations: 153.7 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2338, allocations: 51.41 kB / 437 MB, free: 1.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2339, allocations: 132.6 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.234, allocations: 29.7 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.234, allocations: 112.2 kB / 437.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2341, allocations: 39.69 kB / 437.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.2341, allocations: 25.66 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2342, allocations: 326.8 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2344, allocations: 39.97 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2345, allocations: 63.41 kB / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2347, allocations: 111.3 kB / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2347, allocations: 0 / 437.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.235, allocations: 149.4 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.235, allocations: 8 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2351, allocations: 0 / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2351, allocations: 8.094 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2352, allocations: 31.92 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2352, allocations: 0 / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.2353, allocations: 23.92 kB / 438.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2353, allocations: 4 kB / 438.1 MB, free: 0.6992 MB / 334.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 8.942e-05/0.2354, allocations: 117.8 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.2355, allocations: 11.89 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.2355, allocations: 24.64 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2355, allocations: 4 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2355, allocations: 0 / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2355, allocations: 0 / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2357, allocations: 184.6 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2357, allocations: 0 / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2359, allocations: 32.28 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2359, allocations: 0 / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2359, allocations: 4 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2359, allocations: 0 / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2359, allocations: 3.938 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.2364, allocations: 263.7 kB / 438.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.2364, allocations: 19.83 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.2364, allocations: 4 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2365, allocations: 4 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.2366, allocations: 7.984 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.2366, allocations: 4 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.2366, allocations: 107.2 kB / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2366, allocations: 0 / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.2369, allocations: 31.95 kB / 438.9 MB, free: 15.82 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 9.153e-05/0.237, allocations: 95.25 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.2373, allocations: 91.81 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2373, allocations: 4.188 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2374, allocations: 39.98 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2377, allocations: 23.91 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.2384, allocations: 476.5 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2388, allocations: 0.7128 MB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.2388, allocations: 4.5 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.2388, allocations: 11.44 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2388, allocations: 7.938 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.003867/0.2427, allocations: 1.249 MB / 441.6 MB, free: 13.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.047898782417178]