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.001867/0.001867, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.00231/0.00231, allocations: 205.3 kB / 24.49 MB, free: 3.965 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001613/0.001613, allocations: 47.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2077, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003342/0.211, allocations: 1.956 MB / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2122, allocations: 0.6429 MB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.2123, allocations: 4 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2124, allocations: 19.78 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2125, allocations: 43.64 kB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2128, allocations: 55.8 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.213, allocations: 151.3 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2131, allocations: 24.25 kB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.2132, allocations: 55.78 kB / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2133, allocations: 63.7 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2133, allocations: 8 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.2134, allocations: 31.98 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2134, allocations: 15.92 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.2135, allocations: 63.72 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2137, allocations: 147.2 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2137, allocations: 0 / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2137, allocations: 0 / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2137, allocations: 0 / 435.6 MB, free: 3.484 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.0007002/0.2144, allocations: 369.6 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2145, allocations: 12.03 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2147, allocations: 32.83 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.2149, allocations: 146.3 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2149, allocations: 8.375 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.215, allocations: 12.38 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2153, allocations: 113.6 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2153, allocations: 3.953 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2153, allocations: 4 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2153, allocations: 4 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.2156, allocations: 103.9 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.2164, allocations: 411.1 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2168, allocations: 118.6 kB / 436.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.2169, allocations: 36.84 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.2169, allocations: 8 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2169, allocations: 34.56 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2169, allocations: 0 / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.218, allocations: 416.9 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.218, allocations: 51.41 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2181, allocations: 136.9 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2181, allocations: 29.7 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.2182, allocations: 120.2 kB / 437.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.2183, allocations: 47.53 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.2183, allocations: 29.72 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2184, allocations: 322.8 kB / 438.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2186, allocations: 47.88 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2187, allocations: 75.39 kB / 438.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.219, allocations: 126.6 kB / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.219, allocations: 0 / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003644/0.2194, allocations: 165.5 kB / 438.5 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2194, allocations: 4 kB / 438.5 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2194, allocations: 4 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2194, allocations: 3.938 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2196, allocations: 47.97 kB / 438.6 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2196, allocations: 0 / 438.6 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2197, allocations: 7.938 kB / 438.6 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2197, allocations: 8 kB / 438.6 MB, free: 268 kB / 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 (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 0.000107/0.2199, allocations: 129.8 kB / 438.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.2199, allocations: 11.91 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.2199, allocations: 20.72 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2199, allocations: 0 / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2199, allocations: 0 / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.22, allocations: 7.953 kB / 438.8 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.22, allocations: 15.92 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2201, allocations: 4 kB / 438.8 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2202, allocations: 11.98 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005319/0.2207, allocations: 224.9 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000561/0.2213, allocations: 385.4 kB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001405/0.2214, allocations: 52 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.2215, allocations: 102 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Backend: time 1.8e-07/0.2215, allocations: 0 / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.222, allocations: 165.2 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009817/0.223, allocations: 0.9122 MB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Templates: time 0.005132/0.2281, allocations: 2.062 MB / 442.7 MB, free: 12.14 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: 4.200704022994614]