Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.001273/0.001273, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001309/0.001309, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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 1.475/1.475, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2718, allocations: 52.15 MB / 420.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003236/0.275, allocations: 1.809 MB / 422.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2761, allocations: 0.6466 MB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.2762, allocations: 4 kB / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2763, allocations: 15.8 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.2764, allocations: 35.64 kB / 423.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.2766, allocations: 55.75 kB / 423.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.2768, allocations: 123.5 kB / 423.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2769, allocations: 25.31 kB / 423.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.277, allocations: 39.92 kB / 423.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.2771, allocations: 51.78 kB / 423.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.2771, allocations: 8 kB / 423.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.2772, allocations: 31.92 kB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.2772, allocations: 11.94 kB / 423.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.2773, allocations: 55.72 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.2775, allocations: 132.7 kB / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2775, allocations: 0 / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2775, allocations: 0 / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2775, allocations: 0 / 423.9 MB, free: 12.08 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006627/0.2782, allocations: 419.1 kB / 424.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2782, allocations: 11.89 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.2784, allocations: 28.83 kB / 424.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2787, allocations: 196.2 kB / 424.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2787, allocations: 4.562 kB / 424.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2788, allocations: 12.38 kB / 424.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.279, allocations: 96.97 kB / 424.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.279, allocations: 4 kB / 424.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.279, allocations: 4 kB / 424.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.279, allocations: 4 kB / 424.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.2792, allocations: 59.95 kB / 424.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.2799, allocations: 447.6 kB / 425.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.2802, allocations: 106.5 kB / 425.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.2803, allocations: 36.78 kB / 425.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2803, allocations: 0 / 425.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2803, allocations: 34.56 kB / 425.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.2803, allocations: 0 / 425.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001458/0.2818, allocations: 0.5306 MB / 425.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.2819, allocations: 51.41 kB / 425.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.282, allocations: 122 kB / 426 MB, free: 9.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.282, allocations: 29.7 kB / 426 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.2821, allocations: 112 kB / 426.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.2821, allocations: 43.59 kB / 426.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.2822, allocations: 41.7 kB / 426.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2823, allocations: 318.8 kB / 426.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.2824, allocations: 31.98 kB / 426.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.2825, allocations: 63.36 kB / 426.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.2826, allocations: 95.36 kB / 426.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2826, allocations: 0 / 426.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002054/0.2828, allocations: 130.4 kB / 426.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2828, allocations: 4 kB / 426.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2829, allocations: 4 kB / 426.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2829, allocations: 8.094 kB / 426.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.283, allocations: 39.92 kB / 426.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.283, allocations: 0 / 426.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.2831, allocations: 3.938 kB / 426.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2831, allocations: 4 kB / 426.9 MB, free: 8.723 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 (17): * Single equations (assignments): 17 * 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.0001045/0.2832, allocations: 125.8 kB / 427 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2832, allocations: 7.953 kB / 427.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.2833, allocations: 16.36 kB / 427.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2833, allocations: 4 kB / 427.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2833, allocations: 4 kB / 427.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2833, allocations: 3.938 kB / 427.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.2839, allocations: 424.1 kB / 427.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2839, allocations: 0 / 427.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.284, allocations: 35.92 kB / 427.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.284, allocations: 3.938 kB / 427.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.284, allocations: 0 / 427.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.284, allocations: 8.062 kB / 427.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.284, allocations: 0 / 427.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2844, allocations: 245.1 kB / 427.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.2844, allocations: 89.06 kB / 427.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.2845, allocations: 3.938 kB / 427.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.2846, allocations: 0 / 427.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2846, allocations: 23.97 kB / 427.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2846, allocations: 0 / 427.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.2847, allocations: 95.27 kB / 428 MB, free: 7.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2847, allocations: 0 / 428 MB, free: 7.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.2849, allocations: 24.09 kB / 428 MB, free: 7.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001314/0.2851, allocations: 107.1 kB / 428.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2853, allocations: 92 kB / 428.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2853, allocations: 0 / 428.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.2854, allocations: 35.92 kB / 428.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2858, allocations: 27.98 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.2866, allocations: 464 kB / 428.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.287, allocations: 0.7041 MB / 429.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.287, allocations: 8.875 kB / 429.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.2871, allocations: 19.44 kB / 429.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2871, allocations: 0 / 429.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of Templates: time 0.004331/0.2914, allocations: 1.167 MB / 430.6 MB, free: 4.855 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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.427119681611657]