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.001492/0.001492, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00177/0.00177, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.553/1.553, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2272/0.2272, allocations: 46.96 MB / 361.6 MB, free: 4.027 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: 63.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3048, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003603/0.3084, allocations: 1.878 MB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3095, allocations: 0.5648 MB / 0.5642 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.3096, allocations: 4 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.3098, allocations: 31.73 kB / 0.5642 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3099, allocations: 31.7 kB / 0.5643 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.3101, allocations: 47.94 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3103, allocations: 151.4 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3105, allocations: 57.34 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3106, allocations: 55.73 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.3107, allocations: 67.7 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.3107, allocations: 12 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.3107, allocations: 12 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.3108, allocations: 35.84 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.3108, allocations: 55.73 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3111, allocations: 162 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3111, allocations: 4 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3111, allocations: 0 / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3111, allocations: 0 / 0.5649 GB, free: 1.004 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.0007143/0.3118, allocations: 374 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3118, allocations: 8.031 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.3119, allocations: 16.84 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3122, allocations: 150.2 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3122, allocations: 8.656 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3122, allocations: 16.38 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3125, allocations: 136.2 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3126, allocations: 4 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3126, allocations: 8 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.3126, allocations: 8 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.3129, allocations: 100.8 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3139, allocations: 0.5092 MB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3142, allocations: 70.52 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3143, allocations: 29.02 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3143, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3143, allocations: 38.55 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3143, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004917/0.3148, allocations: 105.6 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3149, allocations: 55.41 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.315, allocations: 156.2 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.315, allocations: 29.64 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3152, allocations: 139.5 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3152, allocations: 23.8 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.3152, allocations: 29.64 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3154, allocations: 322.8 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3155, allocations: 27.98 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3156, allocations: 60.27 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3159, allocations: 100.2 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3159, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003241/0.3162, allocations: 125.5 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3162, allocations: 12.11 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3162, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3162, allocations: 7.938 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3164, allocations: 23.98 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3164, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3165, allocations: 15.94 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3165, allocations: 7.938 kB / 0.5675 GB, free: 14.11 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.000103/0.3166, allocations: 121.8 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.3166, allocations: 7.953 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.3167, allocations: 20.39 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3167, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3167, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3167, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3169, allocations: 149.2 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3169, allocations: 4 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.317, allocations: 12.23 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.317, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.317, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.317, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.317, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3173, allocations: 191.3 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.3173, allocations: 11.94 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3174, allocations: 0 / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3175, allocations: 7.938 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3175, allocations: 3.984 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3175, allocations: 8 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.3176, allocations: 107.2 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3176, allocations: 0 / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3179, allocations: 31.89 kB / 0.5682 GB, free: 13.38 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.0001122/0.318, allocations: 103.2 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3183, allocations: 67.89 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3183, allocations: 0 / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3184, allocations: 27.92 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3186, allocations: 15.05 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.3192, allocations: 264.7 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.3193, allocations: 94.27 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3193, allocations: 8 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.3194, allocations: 7.438 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3194, allocations: 4 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004187/0.3236, allocations: 0.82 MB / 0.5695 GB, free: 11.93 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 -s gbode -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: 4.952562821999891]