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.001303/0.001303, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001433/0.001433, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2378/0.2378, allocations: 46.97 MB / 361.6 MB, free: 4.102 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.002126/0.002126, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003318/0.3285, allocations: 1.874 MB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3295, allocations: 0.5687 MB / 0.5642 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.3296, allocations: 4 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.3298, allocations: 27.73 kB / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.3299, allocations: 39.7 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.3301, allocations: 47.94 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3302, allocations: 143.5 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3304, allocations: 53.36 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3305, allocations: 63.72 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.3306, allocations: 63.7 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3306, allocations: 12 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.606e-05/0.3306, allocations: 16 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.3307, allocations: 27.92 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.3307, allocations: 59.72 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.331, allocations: 162.2 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.331, allocations: 4 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.331, allocations: 0 / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.331, allocations: 0 / 0.5649 GB, free: 0.9688 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.0006677/0.3316, allocations: 370 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3317, allocations: 12.03 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3317, allocations: 16.84 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3319, allocations: 142.2 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.332, allocations: 16.66 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.332, allocations: 12.38 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3323, allocations: 144.2 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3323, allocations: 0 / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3324, allocations: 4 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.3324, allocations: 7.938 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.3328, allocations: 104.7 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.3342, allocations: 0.5091 MB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.3345, allocations: 70.56 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3346, allocations: 24.97 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3347, allocations: 3.938 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3347, allocations: 34.56 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.3347, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005934/0.3353, allocations: 113.6 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3353, allocations: 55.34 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3355, allocations: 155.9 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3356, allocations: 25.7 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3357, allocations: 139.5 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3357, allocations: 19.8 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.3358, allocations: 29.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.336, allocations: 318.8 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3361, allocations: 31.97 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3363, allocations: 68.52 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.3367, allocations: 100.2 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3367, allocations: 4 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004525/0.3371, allocations: 121.5 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3372, allocations: 4 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3372, allocations: 4 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3372, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3374, allocations: 31.97 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3374, allocations: 4 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3375, allocations: 7.953 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3376, allocations: 16.09 kB / 0.5675 GB, free: 14.07 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.0001387/0.3377, allocations: 129.7 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.3378, allocations: 7.953 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3378, allocations: 8.406 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3378, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3378, allocations: 4 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.3378, allocations: 7.891 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3379, allocations: 11.86 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.338, allocations: 8 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.3381, allocations: 7.984 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004864/0.3386, allocations: 172.9 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004679/0.339, allocations: 258.8 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001503/0.3392, allocations: 27.91 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3393, allocations: 103.3 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Backend: time 6.82e-07/0.3393, allocations: 4 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.34, allocations: 122.5 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of SimCode: time 0.0009868/0.341, allocations: 0.7121 MB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.00546/0.3464, allocations: 1.077 MB / 0.5701 GB, free: 11.35 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: 5.01637040899368]