Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000942/0.000942, allocations: 198.5 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007122/0.0007122, allocations: 103.1 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3088/0.3088, allocations: 44.81 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.00028, allocations: 4 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3224, allocations: 62.95 MB / 0.5165 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4336, allocations: 89.85 MB / 0.6042 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4338, allocations: 79.95 kB / 0.6043 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00763/0.4415, allocations: 2.984 MB / 0.6072 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4415, allocations: 4 kB / 0.6072 GB, free: 12.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4415, allocations: 4 kB / 0.6072 GB, free: 12.44 MB / 426.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.0005546/0.4421, allocations: 427.2 kB / 0.6076 GB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4422, allocations: 8.031 kB / 0.6076 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.4422, allocations: 16.75 kB / 0.6076 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.4424, allocations: 212.4 kB / 0.6078 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4424, allocations: 8.656 kB / 0.6079 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4425, allocations: 12.38 kB / 0.6079 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.4428, allocations: 141.2 kB / 0.608 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4428, allocations: 192 / 0.608 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4428, allocations: 11.94 kB / 0.608 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4428, allocations: 0 / 0.608 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.4431, allocations: 116.8 kB / 0.6081 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.4439, allocations: 0.57 MB / 0.6087 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4442, allocations: 82.48 kB / 0.6088 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4443, allocations: 40.97 kB / 0.6088 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4443, allocations: 0 / 0.6088 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4443, allocations: 30.56 kB / 0.6088 GB, free: 10.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.4443, allocations: 0 / 0.6088 GB, free: 10.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.4447, allocations: 125.5 kB / 0.6089 GB, free: 10.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4448, allocations: 51.41 kB / 0.609 GB, free: 10.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4449, allocations: 159.4 kB / 0.6091 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.445, allocations: 25.7 kB / 0.6092 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.445, allocations: 135.5 kB / 0.6093 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.4451, allocations: 15.75 kB / 0.6093 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.4451, allocations: 7.938 kB / 0.6093 GB, free: 10.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4452, allocations: 322.8 kB / 0.6096 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4453, allocations: 31.97 kB / 0.6097 GB, free: 9.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4454, allocations: 68.22 kB / 0.6097 GB, free: 9.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.4457, allocations: 104.2 kB / 0.6098 GB, free: 9.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4457, allocations: 0 / 0.6098 GB, free: 9.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000284/0.446, allocations: 145.5 kB / 0.61 GB, free: 9.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.446, allocations: 4 kB / 0.61 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.446, allocations: 4 kB / 0.61 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.446, allocations: 0 / 0.61 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4461, allocations: 28.23 kB / 0.61 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.4462, allocations: 3.938 kB / 0.61 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.4462, allocations: 23.89 kB / 0.61 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4463, allocations: 8 kB / 0.61 GB, free: 9.293 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.4464, allocations: 129.7 kB / 0.6102 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4464, allocations: 7.906 kB / 0.6102 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.4464, allocations: 12.3 kB / 0.6102 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4464, allocations: 4 kB / 0.6102 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4464, allocations: 3.938 kB / 0.6102 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4465, allocations: 0 / 0.6102 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4467, allocations: 205.6 kB / 0.6104 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4467, allocations: 0 / 0.6104 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.4468, allocations: 23.98 kB / 0.6104 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4468, allocations: 3.984 kB / 0.6104 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4468, allocations: 0 / 0.6104 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4468, allocations: 0 / 0.6104 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4468, allocations: 3.938 kB / 0.6104 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.4471, allocations: 195.4 kB / 0.6106 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.4471, allocations: 85.02 kB / 0.6107 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4471, allocations: 4 kB / 0.6107 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.4472, allocations: 11.98 kB / 0.6107 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.4473, allocations: 11.86 kB / 0.6107 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4473, allocations: 0 / 0.6107 GB, free: 8.512 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.4474, allocations: 123.2 kB / 0.6108 GB, free: 8.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4474, allocations: 0 / 0.6108 GB, free: 8.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.4476, allocations: 27.84 kB / 0.6108 GB, free: 8.367 MB / 426.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 (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.000124/0.4478, allocations: 95.25 kB / 0.6109 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.448, allocations: 87.88 kB / 0.611 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.448, allocations: 0 / 0.611 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.4481, allocations: 35.92 kB / 0.6111 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4484, allocations: 4.25 kB / 0.6111 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.4489, allocations: 363.2 kB / 0.6114 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4492, allocations: 0.7041 MB / 0.6121 GB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.4492, allocations: 11.44 kB / 0.6121 GB, free: 7.012 MB / 426.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4492, allocations: 0 / 0.6121 GB, free: 7.012 MB / 426.7 MB Notification: Performance of Templates: time 0.002629/0.4519, allocations: 1.279 MB / 0.6134 GB, free: 5.742 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches