Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2231/0.2231, allocations: 46.88 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.33, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003463/0.3334, allocations: 1.966 MB / 0.5631 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3346, allocations: 0.6076 MB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3347, allocations: 4 kB / 0.5637 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3349, allocations: 35.73 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3351, allocations: 31.7 kB / 0.5638 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.3353, allocations: 47.88 kB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3355, allocations: 147.5 kB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3356, allocations: 56.31 kB / 0.564 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3358, allocations: 51.8 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3359, allocations: 63.7 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.3359, allocations: 16 kB / 0.5641 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-05/0.3359, allocations: 16 kB / 0.5641 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.336, allocations: 35.84 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.336, allocations: 71.66 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3363, allocations: 155.3 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3363, allocations: 3.984 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3363, allocations: 0 / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3363, allocations: 0 / 0.5644 GB, free: 1.719 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.0007028/0.337, allocations: 451.1 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.337, allocations: 8.031 kB / 0.5648 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3371, allocations: 16.84 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3374, allocations: 212 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3374, allocations: 8.656 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3374, allocations: 12.38 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3377, allocations: 144.1 kB / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3377, allocations: 0 / 0.5652 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3377, allocations: 8 kB / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3378, allocations: 4 kB / 0.5652 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.338, allocations: 104.8 kB / 0.5653 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3392, allocations: 0.599 MB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3394, allocations: 66.52 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3396, allocations: 37 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3396, allocations: 0 / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3396, allocations: 34.56 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.206e-06/0.3396, allocations: 3.984 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003993/0.34, allocations: 113.6 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.34, allocations: 51.41 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.3402, allocations: 158.2 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3402, allocations: 25.7 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.3403, allocations: 135.8 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3403, allocations: 19.89 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.3404, allocations: 25.67 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3405, allocations: 322.8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3406, allocations: 35.91 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3408, allocations: 60.27 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.341, allocations: 92.45 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.341, allocations: 0 / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000306/0.3413, allocations: 141.5 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3413, allocations: 4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3413, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3413, allocations: 7.938 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3415, allocations: 23.98 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3415, allocations: 7.922 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.3416, allocations: 15.89 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3416, allocations: 4 kB / 0.5672 GB, free: 14.54 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.0001049/0.3417, allocations: 125.8 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3417, allocations: 7.953 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.3418, allocations: 16.3 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3418, allocations: 0 / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3418, allocations: 3.938 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.3418, allocations: 89.06 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3418, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3419, allocations: 7.984 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.342, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003314/0.3423, allocations: 172.9 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003337/0.3426, allocations: 266.6 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001048/0.3427, allocations: 27.97 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.8e-05/0.3428, allocations: 114.6 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Backend: time 5.71e-07/0.3428, allocations: 0 / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.3433, allocations: 118.3 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008098/0.3441, allocations: 0.7073 MB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of Templates: time 0.004009/0.3481, allocations: 0.9753 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.817165048792958]