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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 203.6 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009782/0.0009781, allocations: 91.55 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 45.15 MB / 383.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.701e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.4951, allocations: 89.21 MB / 0.5909 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4954, allocations: 70.97 kB / 0.591 GB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01179/0.5073, allocations: 2.689 MB / 0.5936 GB, free: 11.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.5073, allocations: 8 kB / 0.5936 GB, free: 11.52 MB / 394.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.000706/0.5081, allocations: 425.2 kB / 0.594 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5081, allocations: 8.031 kB / 0.594 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.5082, allocations: 19.72 kB / 0.594 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5085, allocations: 190.3 kB / 0.5942 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5085, allocations: 7.906 kB / 0.5942 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.5086, allocations: 8 kB / 0.5942 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002551/0.5088, allocations: 73.11 kB / 0.5943 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.5091, allocations: 95.77 kB / 0.5944 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5091, allocations: 8 kB / 0.5944 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.5092, allocations: 0.6562 kB / 0.5944 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5092, allocations: 0 / 0.5944 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.5103, allocations: 0.5285 MB / 0.5949 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5106, allocations: 52.97 kB / 0.595 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.5106, allocations: 23.91 kB / 0.595 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.5107, allocations: 0 / 0.595 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5107, allocations: 30.56 kB / 0.595 GB, free: 10.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.5107, allocations: 3.938 kB / 0.595 GB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002415/0.511, allocations: 62.8 kB / 0.5951 GB, free: 9.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.511, allocations: 51.41 kB / 0.5951 GB, free: 9.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.5112, allocations: 137.2 kB / 0.5953 GB, free: 9.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.5112, allocations: 25.7 kB / 0.5953 GB, free: 9.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5113, allocations: 130.1 kB / 0.5954 GB, free: 9.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.5114, allocations: 15.42 kB / 0.5954 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.5114, allocations: 0 / 0.5954 GB, free: 9.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5115, allocations: 321.8 kB / 0.5957 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.5116, allocations: 18.12 kB / 0.5957 GB, free: 9.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.5117, allocations: 50.36 kB / 0.5958 GB, free: 9.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.5118, allocations: 18.31 kB / 0.5958 GB, free: 9.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5118, allocations: 0 / 0.5958 GB, free: 9.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.512, allocations: 98.94 kB / 0.5959 GB, free: 9.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5121, allocations: 4 kB / 0.5959 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5121, allocations: 7.906 kB / 0.5959 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5121, allocations: 0 / 0.5959 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5123, allocations: 31.92 kB / 0.5959 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5123, allocations: 0 / 0.5959 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.5125, allocations: 24.05 kB / 0.596 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.5126, allocations: 3.906 kB / 0.596 GB, free: 9.07 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.5127, allocations: 108.4 kB / 0.5961 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.5127, allocations: 7.906 kB / 0.5961 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.5128, allocations: 11.67 kB / 0.5961 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5128, allocations: 4 kB / 0.5961 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5128, allocations: 0 / 0.5961 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5128, allocations: 4 kB / 0.5961 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.5131, allocations: 175.7 kB / 0.5963 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5131, allocations: 0 / 0.5963 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.5133, allocations: 19.92 kB / 0.5963 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5133, allocations: 4 kB / 0.5963 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5133, allocations: 0 / 0.5963 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5133, allocations: 0 / 0.5963 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5134, allocations: 0 / 0.5963 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.5136, allocations: 162.5 kB / 0.5964 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.5136, allocations: 85.02 kB / 0.5965 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.5137, allocations: 0 / 0.5965 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.5139, allocations: 12.11 kB / 0.5965 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.5139, allocations: 4 kB / 0.5965 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.514, allocations: 7.938 kB / 0.5965 GB, free: 8.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.828e-05/0.5141, allocations: 102.1 kB / 0.5966 GB, free: 8.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.5145, allocations: 27.84 kB / 0.5967 GB, free: 8.309 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.5147, allocations: 107.2 kB / 0.5968 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.5149, allocations: 49.16 kB / 0.5968 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5149, allocations: 256 / 0.5968 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.515, allocations: 18.94 kB / 0.5968 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.5152, allocations: 11.75 kB / 0.5968 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.5158, allocations: 141.4 kB / 0.597 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.5162, allocations: 0.7276 MB / 0.5977 GB, free: 7.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5162, allocations: 4 kB / 0.5977 GB, free: 7.227 MB / 394.7 MB Notification: Performance of Templates: time 0.004222/0.5204, allocations: 0.7728 MB / 0.5985 GB, free: 6.473 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches