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.00184/0.00184, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001893/0.001893, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.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.2204/0.2204, allocations: 44.92 MB / 359.6 MB, free: 6.289 MB / 286.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 71.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3216, allocations: 65.47 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003404/0.325, allocations: 1.961 MB / 0.5601 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3261, allocations: 0.6076 MB / 0.5607 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.3262, allocations: 7.938 kB / 0.5607 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.3263, allocations: 35.7 kB / 0.5608 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3265, allocations: 35.7 kB / 0.5608 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.3266, allocations: 47.94 kB / 0.5609 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3268, allocations: 147.5 kB / 0.561 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.327, allocations: 53.38 kB / 0.5611 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3271, allocations: 59.77 kB / 0.5611 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3272, allocations: 63.7 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.3272, allocations: 16 kB / 0.5612 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.3272, allocations: 12 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.3273, allocations: 31.86 kB / 0.5612 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3273, allocations: 67.67 kB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3275, allocations: 162 kB / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3275, allocations: 0 / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3275, allocations: 0 / 0.5614 GB, free: 4.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3276, allocations: 0 / 0.5614 GB, free: 4.418 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.0006653/0.3282, allocations: 373.9 kB / 0.5618 GB, free: 4.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3283, allocations: 12.03 kB / 0.5618 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3283, allocations: 16.84 kB / 0.5618 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.3286, allocations: 150.2 kB / 0.562 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3286, allocations: 12.66 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.3286, allocations: 12.38 kB / 0.562 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3289, allocations: 144.1 kB / 0.5621 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3289, allocations: 4 kB / 0.5621 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.329, allocations: 4 kB / 0.5621 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.329, allocations: 4 kB / 0.5621 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3293, allocations: 104.8 kB / 0.5622 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3303, allocations: 0.5708 MB / 0.5628 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.3306, allocations: 74.55 kB / 0.5629 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3307, allocations: 28.97 kB / 0.5629 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3307, allocations: 0 / 0.5629 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3307, allocations: 34.56 kB / 0.5629 GB, free: 2.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3307, allocations: 0 / 0.5629 GB, free: 2.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003971/0.3311, allocations: 105.6 kB / 0.563 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3311, allocations: 55.39 kB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3313, allocations: 163.8 kB / 0.5632 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3313, allocations: 29.64 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.3314, allocations: 135.8 kB / 0.5634 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3314, allocations: 15.91 kB / 0.5634 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.3315, allocations: 29.66 kB / 0.5634 GB, free: 2.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3316, allocations: 326.8 kB / 0.5638 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3317, allocations: 23.98 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3318, allocations: 68.2 kB / 0.5638 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3321, allocations: 96.19 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3321, allocations: 0 / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002927/0.3324, allocations: 129.4 kB / 0.5641 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3324, allocations: 8 kB / 0.5641 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3324, allocations: 3.984 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3324, allocations: 0 / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3325, allocations: 32.05 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3326, allocations: 4 kB / 0.5641 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3327, allocations: 19.88 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3327, allocations: 4 kB / 0.5641 GB, free: 1.43 MB / 398.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.000108/0.3328, allocations: 129.7 kB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3328, allocations: 7.953 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.3328, allocations: 12.41 kB / 0.5643 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3328, allocations: 3.938 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3329, allocations: 4 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3329, allocations: 3.984 kB / 0.5643 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3331, allocations: 176.7 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3331, allocations: 256 / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.3332, allocations: 15.98 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3332, allocations: 8 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3332, allocations: 0 / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3332, allocations: 3.938 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3332, allocations: 0 / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3335, allocations: 187.4 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.3335, allocations: 15.88 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3335, allocations: 4 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3336, allocations: 7.938 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3337, allocations: 3.984 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3337, allocations: 0 / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.3338, allocations: 121.7 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.334, allocations: 23.95 kB / 0.5648 GB, free: 0.6445 MB / 398.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.0001005/0.3341, allocations: 95.25 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3344, allocations: 67.89 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3344, allocations: 0 / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3345, allocations: 36.16 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3348, allocations: 8 kB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.3354, allocations: 290.3 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3357, allocations: 0.7157 MB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.3358, allocations: 11.44 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3358, allocations: 0 / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.003248/0.339, allocations: 1.285 MB / 0.5673 GB, free: 14.08 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/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: 7.3035658278968185]