Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001455/0.001455, allocations: 84.47 kB / 20.68 MB, free: 1.023 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.001526/0.001526, allocations: 164.4 kB / 23.96 MB, free: 4.145 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.481/1.481, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.236e-05, allocations: 9.375 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003194/0.003226, allocations: 1.88 MB / 442 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004256, allocations: 0.5609 MB / 442.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.004343, allocations: 7.938 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.004545, allocations: 31.73 kB / 442.6 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.004681, allocations: 43.62 kB / 442.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.004854, allocations: 43.94 kB / 442.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.00506, allocations: 151.4 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.005199, allocations: 45.77 kB / 442.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.005349, allocations: 83.8 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.005439, allocations: 47.88 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.005473, allocations: 12 kB / 443 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.718e-05/0.0055, allocations: 12 kB / 443 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.005541, allocations: 31.84 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.005604, allocations: 51.91 kB / 443.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.005822, allocations: 163.4 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005827, allocations: 4 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005827, allocations: 0 / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005831, allocations: 0 / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006334/0.006465, allocations: 369.9 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.006501, allocations: 8.031 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.006551, allocations: 24.83 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.006756, allocations: 145.5 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.006772, allocations: 8.656 kB / 443.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.006794, allocations: 12.38 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.007127, allocations: 140.4 kB / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007138, allocations: 192 / 443.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.007155, allocations: 4.375 kB / 443.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007163, allocations: 7.938 kB / 443.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.007467, allocations: 104.8 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.008424, allocations: 0.5172 MB / 444.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.008692, allocations: 74.55 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.008798, allocations: 24.97 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.008818, allocations: 4 kB / 444.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.008847, allocations: 30.56 kB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.008848, allocations: 4 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004088/0.009257, allocations: 105.6 kB / 444.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.009305, allocations: 59.39 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009443, allocations: 144.3 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.009464, allocations: 29.7 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.009563, allocations: 139.7 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.009586, allocations: 23.78 kB / 445.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.009632, allocations: 21.72 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.009776, allocations: 330.8 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.009888, allocations: 31.97 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.01002, allocations: 64.2 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01026, allocations: 92.19 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01026, allocations: 4 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003056/0.01057, allocations: 125.5 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01058, allocations: 8 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01059, allocations: 0 / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.0106, allocations: 4 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01073, allocations: 23.98 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.01074, allocations: 3.984 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.01084, allocations: 16.08 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.01085, allocations: 0 / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001058/0.01095, allocations: 134.3 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.01099, allocations: 11.94 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.01102, allocations: 12.47 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.01103, allocations: 0 / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01103, allocations: 0 / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.01103, allocations: 0 / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01121, allocations: 145.2 kB / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01121, allocations: 256 / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.0113, allocations: 27.92 kB / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.0113, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.01131, allocations: 0 / 446.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01131, allocations: 4 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01132, allocations: 0 / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01161, allocations: 187.3 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01163, allocations: 7.953 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.01165, allocations: 4 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01175, allocations: 7.984 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01179, allocations: 7.984 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01179, allocations: 0 / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.01188, allocations: 111.3 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01188, allocations: 0 / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.01214, allocations: 27.89 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.886e-05/0.01224, allocations: 91.25 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.01252, allocations: 79.88 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.01252, allocations: 4 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01263, allocations: 31.92 kB / 446.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01288, allocations: 3.938 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.01339, allocations: 254 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.01349, allocations: 94.47 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01352, allocations: 7.969 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.01356, allocations: 16.5 kB / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01357, allocations: 0 / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of Templates: time 0.00337/0.01693, allocations: 0.6714 MB / 447.8 MB, free: 96 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.781279679387808]