Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.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.001559/0.001559, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001615/0.001615, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 51.91 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 53.32 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003522/0.1131, allocations: 2.024 MB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1145, allocations: 0.6935 MB / 430.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1146, allocations: 7.938 kB / 430.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1148, allocations: 15.8 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1149, allocations: 47.62 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1152, allocations: 55.81 kB / 430.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1155, allocations: 151.3 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1156, allocations: 21.11 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1157, allocations: 55.73 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1158, allocations: 63.75 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.1158, allocations: 12 kB / 430.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.1159, allocations: 23.98 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.116, allocations: 19.92 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.116, allocations: 67.67 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1163, allocations: 151.4 kB / 430.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1163, allocations: 0 / 430.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1163, allocations: 4 kB / 430.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1163, allocations: 0 / 430.9 MB, free: 0.8906 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.0008536/0.1172, allocations: 446.8 kB / 431.3 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1172, allocations: 11.97 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1174, allocations: 28.83 kB / 431.3 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1177, allocations: 202.2 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1177, allocations: 12.36 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.1178, allocations: 12.38 kB / 431.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.193/0.3108, allocations: 117.1 kB / 431.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.3108, allocations: 3.312 kB / 431.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.3109, allocations: 1.188 kB / 431.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3109, allocations: 3.594 kB / 431.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.3113, allocations: 93.91 kB / 431.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3121, allocations: 487.9 kB / 432.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3125, allocations: 118.1 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3126, allocations: 49.47 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3127, allocations: 4.344 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.3127, allocations: 42.19 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.3127, allocations: 0 / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001037/0.3137, allocations: 472.2 kB / 432.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.3137, allocations: 56.72 kB / 433 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.3138, allocations: 141.7 kB / 433.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.3138, allocations: 25.7 kB / 433.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.3139, allocations: 109.9 kB / 433.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3139, allocations: 60.41 kB / 433.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.314, allocations: 34.45 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.314, allocations: 327.5 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.3142, allocations: 43.28 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3143, allocations: 73.42 kB / 433.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3146, allocations: 123.9 kB / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3146, allocations: 0 / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003422/0.3149, allocations: 176.4 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3149, allocations: 8.531 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3149, allocations: 3.422 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.315, allocations: 0 / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3151, allocations: 34.52 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3151, allocations: 3.297 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.3152, allocations: 17.47 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3152, allocations: 5.188 kB / 434.1 MB, free: 10.03 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 (18): * Single equations (assignments): 18 * 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 6.814e-05/0.3153, allocations: 120.1 kB / 434.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3154, allocations: 19.44 kB / 434.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3154, allocations: 14.97 kB / 434.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3154, allocations: 3.75 kB / 434.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3154, allocations: 2.25 kB / 434.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3154, allocations: 4.109 kB / 434.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.316, allocations: 476.3 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.316, allocations: 0 / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3162, allocations: 32.34 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3162, allocations: 1.094 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3162, allocations: 3.938 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3162, allocations: 1.188 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3162, allocations: 1.75 kB / 434.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.3167, allocations: 313 kB / 435.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.3168, allocations: 87.52 kB / 435.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3168, allocations: 4.656 kB / 435.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3169, allocations: 9.281 kB / 435.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3169, allocations: 12.75 kB / 435.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-06/0.317, allocations: 5.297 kB / 435.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.317, allocations: 107.1 kB / 435.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.317, allocations: 1.062 kB / 435.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3173, allocations: 28.16 kB / 435.4 MB, free: 9.25 MB / 350.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 (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 Backend phase and start with SimCode phase: time 9.416e-05/0.3174, allocations: 109.9 kB / 435.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3177, allocations: 104.1 kB / 435.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3177, allocations: 1.094 kB / 435.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3178, allocations: 61.16 kB / 435.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3182, allocations: 23.95 kB / 435.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.319, allocations: 0.5067 MB / 436.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3191, allocations: 0.714 MB / 436.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.3191, allocations: 13.75 kB / 436.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3191, allocations: 0 / 436.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Templates: time 0.003812/0.323, allocations: 1.696 MB / 438.6 MB, free: 8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.07152377901366]