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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009194/0.0009194, allocations: 93.38 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 45.14 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.221e-05/1.198e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 63.26 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5018, allocations: 89.28 MB / 0.5916 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.5021, allocations: 75.83 kB / 0.5916 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007526/0.5096, allocations: 2.984 MB / 0.5945 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5097, allocations: 0 / 0.5945 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.5097, allocations: 0 / 0.5945 GB, free: 10.79 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.0005173/0.5102, allocations: 421.7 kB / 0.5949 GB, free: 10.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5103, allocations: 8.031 kB / 0.5949 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.5103, allocations: 15.81 kB / 0.595 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.5105, allocations: 202.2 kB / 0.5952 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5106, allocations: 4 kB / 0.5952 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.5106, allocations: 8 kB / 0.5952 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.5107, allocations: 66.56 kB / 0.5952 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.5109, allocations: 113.5 kB / 0.5953 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.511, allocations: 4 kB / 0.5953 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.511, allocations: 0 / 0.5953 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.511, allocations: 4 kB / 0.5953 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.5117, allocations: 0.5152 MB / 0.5959 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5119, allocations: 57.33 kB / 0.5959 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.5119, allocations: 16.48 kB / 0.5959 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.5119, allocations: 3.938 kB / 0.5959 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.512, allocations: 30.56 kB / 0.596 GB, free: 9.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.512, allocations: 0 / 0.596 GB, free: 9.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.5122, allocations: 68.34 kB / 0.596 GB, free: 9.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.5122, allocations: 51.41 kB / 0.5961 GB, free: 9.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.5123, allocations: 137.7 kB / 0.5962 GB, free: 9.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5123, allocations: 25.7 kB / 0.5962 GB, free: 9.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.5124, allocations: 134.3 kB / 0.5964 GB, free: 8.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.5124, allocations: 15.19 kB / 0.5964 GB, free: 8.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5124, allocations: 3.938 kB / 0.5964 GB, free: 8.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5126, allocations: 317.8 kB / 0.5967 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.5126, allocations: 18.81 kB / 0.5967 GB, free: 8.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.5127, allocations: 46.98 kB / 0.5967 GB, free: 8.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.5127, allocations: 22.73 kB / 0.5968 GB, free: 8.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5127, allocations: 0 / 0.5968 GB, free: 8.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001241/0.5128, allocations: 89.97 kB / 0.5968 GB, free: 8.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5129, allocations: 8 kB / 0.5969 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5129, allocations: 0 / 0.5969 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.5129, allocations: 4 kB / 0.5969 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.513, allocations: 31.91 kB / 0.5969 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5131, allocations: 4 kB / 0.5969 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.5132, allocations: 19.8 kB / 0.5969 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.5132, allocations: 11.44 kB / 0.5969 GB, free: 8.336 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 6.873e-05/0.5133, allocations: 105 kB / 0.597 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.5133, allocations: 11.84 kB / 0.597 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.5133, allocations: 7.656 kB / 0.597 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5133, allocations: 4 kB / 0.597 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5133, allocations: 0 / 0.597 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5133, allocations: 4.047 kB / 0.597 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.5135, allocations: 180 kB / 0.5972 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5135, allocations: 0 / 0.5972 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.5136, allocations: 19.98 kB / 0.5972 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5136, allocations: 0 / 0.5972 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.5137, allocations: 4 kB / 0.5972 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5137, allocations: 0 / 0.5972 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5137, allocations: 0 / 0.5972 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.5138, allocations: 161.2 kB / 0.5974 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.5138, allocations: 85.02 kB / 0.5975 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.5139, allocations: 4 kB / 0.5975 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.514, allocations: 7.984 kB / 0.5975 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.514, allocations: 7.984 kB / 0.5975 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.514, allocations: 0 / 0.5975 GB, free: 7.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.214e-05/0.5141, allocations: 108.8 kB / 0.5976 GB, free: 7.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5141, allocations: 0 / 0.5976 GB, free: 7.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.5143, allocations: 27.84 kB / 0.5976 GB, free: 7.574 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.0001192/0.5145, allocations: 107.2 kB / 0.5977 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.5146, allocations: 39.62 kB / 0.5978 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5146, allocations: 3.938 kB / 0.5978 GB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.5146, allocations: 16.94 kB / 0.5978 GB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.5148, allocations: 7.922 kB / 0.5978 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.5152, allocations: 145.2 kB / 0.5979 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.5154, allocations: 0.7125 MB / 0.5986 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.5155, allocations: 7.938 kB / 0.5986 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.5155, allocations: 11.44 kB / 0.5986 GB, free: 6.496 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5155, allocations: 0 / 0.5986 GB, free: 6.496 MB / 394.7 MB Notification: Performance of Templates: time 0.002545/0.518, allocations: 0.6052 MB / 0.5992 GB, free: 5.902 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