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.001427/0.001427, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001487/0.001487, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.219 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.2274/0.2274, allocations: 46.94 MB / 361.6 MB, free: 4.293 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.002185/0.002185, allocations: 59.91 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3228, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003544/0.3264, allocations: 1.96 MB / 0.5638 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3275, allocations: 0.6076 MB / 0.5644 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3276, allocations: 4 kB / 0.5644 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3278, allocations: 31.72 kB / 0.5644 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.328, allocations: 35.7 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.3282, allocations: 43.94 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3284, allocations: 147.4 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3285, allocations: 63.05 kB / 0.5647 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3286, allocations: 55.78 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3287, allocations: 63.7 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.3288, allocations: 16 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.3288, allocations: 12 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.3288, allocations: 27.92 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.3289, allocations: 75.64 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3291, allocations: 154.1 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3291, allocations: 0 / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3291, allocations: 0 / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3292, allocations: 0 / 0.5651 GB, free: 1.121 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.0006583/0.3298, allocations: 377.9 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3299, allocations: 12.03 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.3299, allocations: 20.83 kB / 0.5655 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.3302, allocations: 142.2 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3302, allocations: 12.66 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3302, allocations: 16.38 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.3306, allocations: 148.1 kB / 0.5658 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3306, allocations: 0 / 0.5658 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3306, allocations: 4 kB / 0.5658 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3306, allocations: 4 kB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3309, allocations: 104.8 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.332, allocations: 0.5748 MB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3322, allocations: 66.62 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.3323, allocations: 24.97 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3323, allocations: 0 / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3324, allocations: 38.56 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.3324, allocations: 0 / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003901/0.3327, allocations: 113.5 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3328, allocations: 51.41 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.333, allocations: 164.5 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.333, allocations: 25.7 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3331, allocations: 135.8 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3331, allocations: 27.8 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.3332, allocations: 25.67 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3333, allocations: 322.8 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3334, allocations: 23.98 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3335, allocations: 64.2 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3338, allocations: 96.19 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3338, allocations: 0 / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002872/0.334, allocations: 133.4 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3341, allocations: 8 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3341, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3341, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3342, allocations: 31.86 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3342, allocations: 4 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.3343, allocations: 19.88 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3343, allocations: 8.125 kB / 0.5678 GB, free: 14.13 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.0001063/0.3344, allocations: 121.8 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3345, allocations: 7.953 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.3345, allocations: 16.39 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3345, allocations: 3.938 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3345, allocations: 0 / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3345, allocations: 0 / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3347, allocations: 172.7 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3348, allocations: 256 / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.3348, allocations: 23.98 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3349, allocations: 7.938 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3349, allocations: 0 / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3349, allocations: 3.938 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3349, allocations: 3.984 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3352, allocations: 179.5 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3352, allocations: 15.89 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3352, allocations: 4 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.3353, allocations: 11.92 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3353, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3353, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.3354, allocations: 115.2 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3354, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.3357, allocations: 23.95 kB / 0.5684 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.0001059/0.3358, allocations: 99.25 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.336, allocations: 71.83 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.336, allocations: 3.938 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.3361, allocations: 27.97 kB / 0.5686 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.0002481/0.3364, allocations: 11.23 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.337, allocations: 298.5 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3373, allocations: 0.7118 MB / 0.5696 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.3373, allocations: 11.44 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3373, allocations: 0 / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.00338/0.3407, allocations: 1.292 MB / 0.5709 GB, free: 10.78 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.05078771407716]