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.00111/0.00111, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 111 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3522/0.3522, allocations: 44.83 MB / 392.7 MB, free: 34.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4331, allocations: 62.01 MB / 0.5151 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003581/0.4367, allocations: 1.991 MB / 0.5171 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.4377, allocations: 0.592 MB / 0.5177 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.4378, allocations: 0 / 0.5177 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.438, allocations: 29.98 kB / 0.5177 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.4382, allocations: 36.7 kB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.4383, allocations: 29.39 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.4385, allocations: 146.3 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4387, allocations: 47.14 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.4389, allocations: 72.31 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.4389, allocations: 62.11 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.439, allocations: 8.438 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.439, allocations: 11.31 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.439, allocations: 29.98 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.4391, allocations: 65.52 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.4393, allocations: 153.9 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4393, allocations: 0 / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4393, allocations: 0 / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4393, allocations: 0 / 0.5183 GB, free: 35.62 MB / 378.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.0006988/0.4401, allocations: 441.5 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.4401, allocations: 12.5 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.4402, allocations: 17.31 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4404, allocations: 203.4 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4404, allocations: 10.28 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.4404, allocations: 13.84 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.4408, allocations: 142.1 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4408, allocations: 0 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.4409, allocations: 10.3 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.4409, allocations: 2.812 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.4412, allocations: 109.7 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/0.4421, allocations: 0.6136 MB / 0.5198 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4424, allocations: 72.53 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4425, allocations: 30.06 kB / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4425, allocations: 0 / 0.5199 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4426, allocations: 37.41 kB / 0.52 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4426, allocations: 7.938 kB / 0.52 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004326/0.443, allocations: 106.3 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.4431, allocations: 59.05 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4432, allocations: 154.2 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4432, allocations: 29.7 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4433, allocations: 130.8 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.4433, allocations: 18.44 kB / 0.5205 GB, free: 33.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.4434, allocations: 29.17 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.4435, allocations: 318 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/0.4436, allocations: 27.95 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4437, allocations: 59.19 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.4439, allocations: 92.95 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4439, allocations: 0 / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002471/0.4442, allocations: 133.2 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4442, allocations: 5.438 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4442, allocations: 3.422 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4442, allocations: 3.156 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4443, allocations: 27.56 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4444, allocations: 0 / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.4444, allocations: 23.88 kB / 0.5212 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.4445, allocations: 7.047 kB / 0.5212 GB, free: 33.3 MB / 378.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.317e-05/0.4445, allocations: 124.5 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.4446, allocations: 8.969 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.4446, allocations: 11.55 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4446, allocations: 6.844 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4446, allocations: 0 / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4446, allocations: 0 / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4448, allocations: 209.1 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4448, allocations: 0 / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.4449, allocations: 25.78 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4449, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4449, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4449, allocations: 11.86 kB / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.445, allocations: 0 / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.4454, allocations: 0.7733 MB / 0.5223 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.4455, allocations: 87.89 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4455, allocations: 0 / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.4456, allocations: 6.344 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.4456, allocations: 10.42 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4457, allocations: 0 / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.4457, allocations: 117.1 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4457, allocations: 0 / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.4461, allocations: 24.09 kB / 0.5225 GB, free: 31.99 MB / 378.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.797e-05/0.4462, allocations: 94.75 kB / 0.5226 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4464, allocations: 71.52 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4464, allocations: 0 / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.4465, allocations: 27.83 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4469, allocations: 18.59 kB / 0.5227 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.4474, allocations: 436.1 kB / 0.5231 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4476, allocations: 0.7112 MB / 0.5238 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.4476, allocations: 10.89 kB / 0.5239 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.4477, allocations: 10.34 kB / 0.5239 GB, free: 30.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4477, allocations: 0 / 0.5239 GB, free: 30.8 MB / 378.7 MB Notification: Performance of Templates: time 0.002753/0.4505, allocations: 0.6487 MB / 0.5245 GB, free: 30.71 MB / 378.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@2/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