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.001519/0.001519, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001688/0.001688, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.541/1.541, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.236/0.236, 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.003065/0.003065, allocations: 79.88 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.321, allocations: 66 MB / 0.5612 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00314/0.3242, allocations: 1.956 MB / 0.5631 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3252, allocations: 0.6114 MB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.3252, allocations: 4 kB / 0.5637 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3254, allocations: 31.72 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.3255, allocations: 43.69 kB / 0.5638 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.3257, allocations: 39.95 kB / 0.5638 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.3259, allocations: 147.4 kB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.326, allocations: 60.17 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.3261, allocations: 51.8 kB / 0.564 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.3262, allocations: 67.69 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.3263, allocations: 12 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.3263, allocations: 16 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.3263, allocations: 27.92 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.3264, allocations: 75.66 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3266, allocations: 159.3 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3266, allocations: 0 / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3266, allocations: 0 / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3266, allocations: 0 / 0.5644 GB, free: 1.77 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.0006866/0.3273, allocations: 447.1 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3273, allocations: 8.031 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.3274, allocations: 20.84 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3276, allocations: 212 kB / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3277, allocations: 8.656 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3277, allocations: 12.38 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.328, allocations: 140.1 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.328, allocations: 0 / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.328, allocations: 8 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.328, allocations: 8 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.3283, allocations: 112.7 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3294, allocations: 0.5952 MB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3296, allocations: 74.56 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3297, allocations: 28.95 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3298, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3298, allocations: 38.56 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3298, allocations: 0 / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004076/0.3302, allocations: 109.5 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3303, allocations: 59.41 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3304, allocations: 158.2 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3304, allocations: 29.7 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.3305, allocations: 135.8 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3305, allocations: 11.89 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.3306, allocations: 33.66 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3307, allocations: 318.8 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3309, allocations: 39.91 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.331, allocations: 60.27 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.3312, allocations: 92.19 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3312, allocations: 0 / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003108/0.3315, allocations: 121.5 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3316, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3316, allocations: 4.125 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3316, allocations: 7.938 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3317, allocations: 35.91 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3317, allocations: 7.938 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.3318, allocations: 11.89 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3318, allocations: 4 kB / 0.5672 GB, free: 14.58 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.0001112/0.332, allocations: 125.8 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.332, allocations: 7.953 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.332, allocations: 12.31 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.332, allocations: 3.938 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.332, allocations: 0 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.332, allocations: 4 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3323, allocations: 205.6 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3323, allocations: 0 / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.3324, allocations: 16.23 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3324, allocations: 0 / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3324, allocations: 4 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3324, allocations: 3.938 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3324, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3327, allocations: 187.4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3328, allocations: 89.05 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3328, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3329, allocations: 7.938 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.3329, allocations: 11.98 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3329, allocations: 4 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.568e-05/0.333, allocations: 110.6 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.333, allocations: 0 / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3333, allocations: 31.89 kB / 0.568 GB, free: 13.68 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 9.768e-05/0.3334, allocations: 95.23 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3337, allocations: 68.08 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3337, allocations: 4.062 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3338, allocations: 27.92 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.334, allocations: 4.219 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3346, allocations: 275.6 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3349, allocations: 0.7118 MB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.386e-05/0.335, allocations: 12.64 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.335, allocations: 7.438 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.335, allocations: 7.938 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.003504/0.3385, allocations: 0.7647 MB / 0.5699 GB, free: 11.65 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 -s gbode -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: 5.114156266208738]