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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 109.2 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009863/0.0009863, allocations: 51.89 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2181, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002624/0.2208, allocations: 1.792 MB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.2217, allocations: 0.6349 MB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.2218, allocations: 0 / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2219, allocations: 15.8 kB / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.485e-05/0.222, allocations: 39.69 kB / 403.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.2222, allocations: 55.81 kB / 403.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2224, allocations: 127.3 kB / 404.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2225, allocations: 29.38 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.2226, allocations: 43.86 kB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.2226, allocations: 47.78 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2227, allocations: 8 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.2228, allocations: 31.97 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.2228, allocations: 19.92 kB / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.2229, allocations: 51.73 kB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2231, allocations: 128.7 kB / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2231, allocations: 0 / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2231, allocations: 0 / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.2231, allocations: 0 / 404.4 MB, free: 5.852 MB / 318.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.0005424/0.2236, allocations: 411.3 kB / 404.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2237, allocations: 8.031 kB / 404.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2239, allocations: 28.83 kB / 404.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2241, allocations: 196.1 kB / 405 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2241, allocations: 8.562 kB / 405 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2241, allocations: 12.38 kB / 405.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2243, allocations: 90.91 kB / 405.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2243, allocations: 7.969 kB / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2243, allocations: 8 kB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2244, allocations: 0 / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.2245, allocations: 67.91 kB / 405.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.2252, allocations: 447.5 kB / 405.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2254, allocations: 102.6 kB / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.2255, allocations: 32.8 kB / 405.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2255, allocations: 4 kB / 405.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2255, allocations: 38.56 kB / 405.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2255, allocations: 0 / 405.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001278/0.2268, allocations: 0.5264 MB / 406.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.2269, allocations: 55.41 kB / 406.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.2269, allocations: 121.8 kB / 406.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.227, allocations: 33.69 kB / 406.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.227, allocations: 99.89 kB / 406.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2271, allocations: 43.36 kB / 406.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.2271, allocations: 37.7 kB / 406.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2272, allocations: 322.8 kB / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.2273, allocations: 28 kB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.2274, allocations: 63.34 kB / 407.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2275, allocations: 95.38 kB / 407.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2275, allocations: 0 / 407.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001903/0.2277, allocations: 130.3 kB / 407.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2277, allocations: 4 kB / 407.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2278, allocations: 4 kB / 407.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2278, allocations: 0 / 407.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2279, allocations: 35.92 kB / 407.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2279, allocations: 0 / 407.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.228, allocations: 7.938 kB / 407.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.228, allocations: 12.05 kB / 407.4 MB, free: 2.508 MB / 318.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 8.252e-05/0.2281, allocations: 125.8 kB / 407.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2281, allocations: 7.906 kB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.2282, allocations: 12.38 kB / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2282, allocations: 0 / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2282, allocations: 0 / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.2283, allocations: 88.95 kB / 407.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2283, allocations: 3.984 kB / 407.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.2284, allocations: 12 kB / 407.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.2284, allocations: 4 kB / 407.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003064/0.2287, allocations: 204.8 kB / 407.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003129/0.229, allocations: 326.7 kB / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.571e-05/0.2291, allocations: 36.03 kB / 408.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.2292, allocations: 95.27 kB / 408.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of Backend: time 2.5e-07/0.2292, allocations: 4 kB / 408.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.2296, allocations: 154.3 kB / 408.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of SimCode: time 0.000859/0.2305, allocations: 0.8712 MB / 409.4 MB, free: 492 kB / 318.1 MB Notification: Performance of Templates: time 0.003716/0.2342, allocations: 1.409 MB / 410.8 MB, free: 15.08 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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) 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) Reference file matches