Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0007781/0.0007781, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001906, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00109/0.00109, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002557, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9367/0.9367, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08834/1.025, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02328/0.2663, allocations: 13.23 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.3e-05, allocations: 5.906 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003576/0.003599, allocations: 2.017 MB / 296.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009772/0.004576, allocations: 0.5967 MB / 296.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.00466, allocations: 8 kB / 296.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004796, allocations: 31.72 kB / 296.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.004887, allocations: 39.64 kB / 296.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.005027, allocations: 39.94 kB / 296.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.005211, allocations: 155.4 kB / 297 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.005349, allocations: 50.36 kB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.005506, allocations: 99.78 kB / 297.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.005624, allocations: 47.81 kB / 297.2 MB, free: 2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.005659, allocations: 16 kB / 297.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.005686, allocations: 16 kB / 297.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.005716, allocations: 19.94 kB / 297.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.005767, allocations: 39.88 kB / 297.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.005933, allocations: 87.69 kB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.005944, allocations: 0 / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005945, allocations: 0 / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.005956, allocations: 4 kB / 297.3 MB, free: 1.82 MB / 282.7 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.0005814/0.006538, allocations: 369.5 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.006577, allocations: 19.44 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.00663, allocations: 20.92 kB / 297.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006806, allocations: 133.5 kB / 297.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.00682, allocations: 8.656 kB / 297.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.006843, allocations: 16.38 kB / 297.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.007034, allocations: 109.1 kB / 298 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007044, allocations: 4.188 kB / 298 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.007058, allocations: 8.375 kB / 298 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.007067, allocations: 7.938 kB / 298 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.007141, allocations: 36.7 kB / 298.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.007814, allocations: 459.1 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.007948, allocations: 50.48 kB / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.007973, allocations: 16.97 kB / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.007989, allocations: 0 / 298.6 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.008014, allocations: 34.56 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.008015, allocations: 0 / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001358/0.008151, allocations: 45.69 kB / 298.7 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.008178, allocations: 51.41 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.008278, allocations: 145.1 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.008291, allocations: 29.64 kB / 298.9 MB, free: 144 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.008358, allocations: 135.7 kB / 299 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.008389, allocations: 23.81 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.008439, allocations: 29.67 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.008534, allocations: 318.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.008557, allocations: 8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.008603, allocations: 46.12 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.008682, allocations: 64.14 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008685, allocations: 0 / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001194/0.008804, allocations: 77.53 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.00882, allocations: 10.81 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.008825, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.008839, allocations: 4 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.008987, allocations: 23.98 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008992, allocations: 3.984 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.009055, allocations: 12.12 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.009064, allocations: 4 kB / 299.6 MB, free: 15.34 MB / 298.7 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 7.265e-05/0.009137, allocations: 121.7 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.009163, allocations: 11.92 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.009195, allocations: 16.47 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009197, allocations: 0 / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.009199, allocations: 0 / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009202, allocations: 0 / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.009344, allocations: 93.8 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.009349, allocations: 4 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.009435, allocations: 20.19 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.00945, allocations: 7.938 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.009453, allocations: 4 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.00946, allocations: 4 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.009462, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009463, allocations: 0 / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.009592, allocations: 147.4 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.009607, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.009684, allocations: 7.984 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.009718, allocations: 0 / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009722, allocations: 4 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.009761, allocations: 32.83 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009761, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.009997, allocations: 31.88 kB / 300.1 MB, free: 14.8 MB / 298.7 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 8.702e-05/0.01008, allocations: 72.42 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01019, allocations: 44.7 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.0102, allocations: 4 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.01024, allocations: 12.86 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01049, allocations: 62.06 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01178, allocations: 266.1 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01183, allocations: 63.34 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.891e-05/0.01188, allocations: 16.47 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.01195, allocations: 55.38 kB / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01195, allocations: 0 / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Templates: time 0.003286/0.01524, allocations: 0.8398 MB / 301.5 MB, free: 13.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6981859942898154]