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.001416/0.001416, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001512/0.001512, allocations: 156.9 kB / 24.48 MB, free: 3.461 MB / 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.497/1.497, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.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.001687/0.001687, allocations: 47.95 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09386, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003355/0.09722, allocations: 1.742 MB / 373.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.09839, allocations: 0.5844 MB / 373.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.09848, allocations: 4 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.0986, allocations: 15.86 kB / 373.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.09871, allocations: 39.64 kB / 373.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.09895, allocations: 51.88 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.09915, allocations: 119.4 kB / 374.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.09929, allocations: 33.5 kB / 374.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.09937, allocations: 47.78 kB / 374.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.09948, allocations: 39.84 kB / 374.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.0995, allocations: 8 kB / 374.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.09958, allocations: 27.98 kB / 374.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.09961, allocations: 19.92 kB / 374.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.09967, allocations: 39.81 kB / 374.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.0999, allocations: 135.5 kB / 374.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.09991, allocations: 3.984 kB / 374.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09991, allocations: 0 / 374.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.09992, allocations: 0 / 374.5 MB, free: 4.426 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.0005508/0.1005, allocations: 334 kB / 374.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1005, allocations: 8.031 kB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.1007, allocations: 32.83 kB / 374.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1009, allocations: 138.3 kB / 375 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1009, allocations: 8.562 kB / 375 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.101, allocations: 8.375 kB / 375 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1012, allocations: 101.5 kB / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1012, allocations: 0 / 375.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1012, allocations: 4 kB / 375.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1012, allocations: 4 kB / 375.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1013, allocations: 59.91 kB / 375.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.102, allocations: 379.5 kB / 375.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1023, allocations: 90.64 kB / 375.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.1024, allocations: 32.86 kB / 375.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1024, allocations: 0 / 375.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1024, allocations: 38.48 kB / 375.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.1024, allocations: 4 kB / 375.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001283/0.1037, allocations: 385.1 kB / 376 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1037, allocations: 51.41 kB / 376.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1038, allocations: 133 kB / 376.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1039, allocations: 25.7 kB / 376.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.1039, allocations: 108 kB / 376.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.104, allocations: 47.58 kB / 376.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.104, allocations: 33.7 kB / 376.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1042, allocations: 326.8 kB / 376.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.1042, allocations: 24 kB / 376.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.1043, allocations: 59.41 kB / 376.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1045, allocations: 104.1 kB / 376.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1045, allocations: 0 / 376.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000207/0.1047, allocations: 133.5 kB / 377.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1047, allocations: 10.72 kB / 377.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1047, allocations: 4 kB / 377.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1047, allocations: 0 / 377.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1049, allocations: 27.98 kB / 377.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1049, allocations: 7.984 kB / 377.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.1049, allocations: 3.984 kB / 377.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1049, allocations: 11.94 kB / 377.1 MB, free: 1.52 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.0001038/0.105, allocations: 121.8 kB / 377.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1051, allocations: 11.95 kB / 377.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.1051, allocations: 12.44 kB / 377.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1051, allocations: 8 kB / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1051, allocations: 0 / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1051, allocations: 0 / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.1057, allocations: 359.7 kB / 377.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1057, allocations: 4.031 kB / 377.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1058, allocations: 35.92 kB / 377.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1058, allocations: 0 / 377.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1058, allocations: 4 kB / 377.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1058, allocations: 3.938 kB / 377.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1058, allocations: 4.062 kB / 377.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.1061, allocations: 249.1 kB / 377.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.1062, allocations: 3.953 kB / 377.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1062, allocations: 8 kB / 377.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.1063, allocations: 3.938 kB / 377.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1063, allocations: 12.17 kB / 378 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1063, allocations: 4 kB / 378 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.1064, allocations: 95.27 kB / 378.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1064, allocations: 0 / 378.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1066, allocations: 27.94 kB / 378.1 MB, free: 0.4961 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.0001033/0.1067, allocations: 107.2 kB / 378.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1069, allocations: 79.91 kB / 378.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1069, allocations: 0 / 378.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.177e-05/0.107, allocations: 39.92 kB / 378.3 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1073, allocations: 23.98 kB / 378.3 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.1081, allocations: 453.3 kB / 378.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.1082, allocations: 92.3 kB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.1082, allocations: 8.984 kB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1082, allocations: 12.5 kB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1083, allocations: 0 / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Templates: time 0.004113/0.1124, allocations: 1.137 MB / 380 MB, free: 14.52 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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.232059919042513]