Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001629/0.001629, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001807/0.001807, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+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|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_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_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 43.94 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00338/0.2528, allocations: 1.941 MB / 434.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.254, allocations: 0.6468 MB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.254, allocations: 4 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.2542, allocations: 19.78 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.2542, allocations: 43.64 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.2545, allocations: 55.8 kB / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.2547, allocations: 139.3 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2548, allocations: 32.23 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.2549, allocations: 51.8 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.255, allocations: 51.7 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.2551, allocations: 12 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.2551, allocations: 27.98 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.2552, allocations: 23.92 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.2552, allocations: 51.78 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.2555, allocations: 147.1 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2555, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2555, allocations: 0 / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2555, allocations: 4 kB / 435.6 MB, free: 3.457 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.0006582/0.2562, allocations: 361.7 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2562, allocations: 8.031 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2564, allocations: 28.88 kB / 435.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2566, allocations: 150.2 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2567, allocations: 8.375 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.2567, allocations: 12.38 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.257, allocations: 117.6 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.257, allocations: 0 / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.257, allocations: 7.938 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.257, allocations: 4 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2573, allocations: 91.88 kB / 436.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.2582, allocations: 419 kB / 436.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.2585, allocations: 102.5 kB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2587, allocations: 36.84 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2587, allocations: 8.125 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2587, allocations: 38.5 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2587, allocations: 0 / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004774/0.2592, allocations: 149.5 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2592, allocations: 51.41 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2593, allocations: 133.8 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2594, allocations: 29.7 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.2595, allocations: 116.2 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.2595, allocations: 35.73 kB / 437.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.2595, allocations: 25.72 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2597, allocations: 322.8 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2598, allocations: 35.97 kB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.26, allocations: 63.41 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2602, allocations: 111.3 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2602, allocations: 0 / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003361/0.2606, allocations: 157.2 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2606, allocations: 4 kB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2606, allocations: 0 / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2606, allocations: 4 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.2608, allocations: 35.97 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2608, allocations: 4.094 kB / 438.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.2609, allocations: 11.94 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2609, allocations: 7.984 kB / 438.2 MB, free: 0.6172 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 0.000102/0.261, allocations: 121.8 kB / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.261, allocations: 19.84 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.2611, allocations: 16.72 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2611, allocations: 0 / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2611, allocations: 0 / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2611, allocations: 7.984 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2613, allocations: 149.2 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2613, allocations: 4.375 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2615, allocations: 23.98 kB / 438.5 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.2615, allocations: 7.938 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2615, allocations: 0 / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2615, allocations: 3.938 kB / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2615, allocations: 0 / 438.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.262, allocations: 259.4 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.262, allocations: 15.91 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.2621, allocations: 15.88 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2622, allocations: 8.031 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2622, allocations: 4 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2622, allocations: 7.922 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.2623, allocations: 106.1 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2623, allocations: 0 / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.2626, allocations: 24 kB / 439 MB, free: 15.78 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 0.0001166/0.2627, allocations: 95.25 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.263, allocations: 95.88 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.263, allocations: 0 / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.2631, allocations: 39.92 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2634, allocations: 19.97 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/0.2643, allocations: 0.4909 MB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.2644, allocations: 97.19 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2645, allocations: 11.44 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2645, allocations: 3.938 kB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.003537/0.268, allocations: 1.619 MB / 441.4 MB, free: 13.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.94122186396271]