Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001387/0.001387, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001547/0.001547, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3248, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003416/0.3283, allocations: 1.885 MB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3293, allocations: 0.5571 MB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.3294, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3296, allocations: 35.7 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3297, allocations: 39.7 kB / 0.5643 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.3299, allocations: 43.95 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.3301, allocations: 147.4 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3302, allocations: 53.34 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.3303, allocations: 55.8 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.3304, allocations: 55.75 kB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.3304, allocations: 19.94 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.3305, allocations: 15.94 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.3305, allocations: 27.92 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.3306, allocations: 55.73 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3308, allocations: 162 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3308, allocations: 0 / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3308, allocations: 0 / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3308, allocations: 0 / 0.5649 GB, free: 0.9961 MB / 398.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.0006925/0.3315, allocations: 374 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3315, allocations: 8.031 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.3316, allocations: 16.84 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.3319, allocations: 158.2 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3319, allocations: 12.66 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3319, allocations: 12.38 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3322, allocations: 140.2 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3322, allocations: 0 / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3323, allocations: 8 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3323, allocations: 0 / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.3326, allocations: 100.8 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3337, allocations: 0.5167 MB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.3339, allocations: 70.45 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.334, allocations: 29 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3341, allocations: 8 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3341, allocations: 30.56 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3341, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004215/0.3345, allocations: 109.6 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3346, allocations: 55.41 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3347, allocations: 159.8 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3348, allocations: 29.7 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3349, allocations: 131.5 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3349, allocations: 27.72 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.335, allocations: 25.72 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3351, allocations: 322.8 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3353, allocations: 35.97 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3354, allocations: 56.28 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3356, allocations: 96.17 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3356, allocations: 0 / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003136/0.3359, allocations: 137.5 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.336, allocations: 4 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.336, allocations: 0 / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.336, allocations: 4 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3361, allocations: 23.98 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3361, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.3362, allocations: 20.06 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3362, allocations: 11.94 kB / 0.5675 GB, free: 14.09 MB / 414.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.0001108/0.3363, allocations: 117.8 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3364, allocations: 7.953 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.3364, allocations: 20.39 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3364, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3364, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3364, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3366, allocations: 141.4 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3366, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.3367, allocations: 23.98 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3367, allocations: 0 / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3367, allocations: 4 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3367, allocations: 7.922 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3367, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.337, allocations: 191.3 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.337, allocations: 3.953 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.337, allocations: 4 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.3371, allocations: 7.984 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3372, allocations: 11.94 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3372, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.506e-05/0.3373, allocations: 115.2 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3373, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3375, allocations: 31.89 kB / 0.5681 GB, free: 13.36 MB / 414.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 0.0001091/0.3376, allocations: 95.19 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.3379, allocations: 68.08 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3379, allocations: 4.062 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.338, allocations: 31.91 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3383, allocations: 4 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.3388, allocations: 290.4 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.339, allocations: 98.27 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.339, allocations: 11.44 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.339, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.003191/0.3422, allocations: 1.32 MB / 0.57 GB, free: 11.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.475327919702977]