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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 110.9 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 8.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 71.44 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1332, allocations: 62.46 MB / 479.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003517/0.1367, allocations: 1.976 MB / 481.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1378, allocations: 0.5999 MB / 482.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.138, allocations: 0 / 482.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.1382, allocations: 35.77 kB / 482.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1383, allocations: 23.83 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1385, allocations: 39.97 kB / 482.6 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1387, allocations: 139.5 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1388, allocations: 57.84 kB / 482.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.1389, allocations: 51.78 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.139, allocations: 59.7 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1391, allocations: 12 kB / 482.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.65e-05/0.1391, allocations: 8 kB / 482.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1392, allocations: 27.91 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.1392, allocations: 63.67 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1394, allocations: 123.9 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1394, allocations: 4 kB / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1394, allocations: 0 / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1394, allocations: 0 / 483.1 MB, free: 2.465 MB / 350.1 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.0006954/0.1401, allocations: 443.4 kB / 483.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1402, allocations: 8.875 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.1402, allocations: 20.69 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1405, allocations: 204.1 kB / 483.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1405, allocations: 16.66 kB / 483.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1405, allocations: 12.38 kB / 483.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.1408, allocations: 144.1 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1409, allocations: 0 / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1409, allocations: 4 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1409, allocations: 7.938 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1412, allocations: 100.8 kB / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1422, allocations: 0.6144 MB / 484.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1425, allocations: 70.52 kB / 484.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1426, allocations: 33 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1426, allocations: 4 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1427, allocations: 30.56 kB / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1427, allocations: 0 / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004067/0.1431, allocations: 113.5 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1432, allocations: 55.41 kB / 485 MB, free: 420 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1433, allocations: 153.2 kB / 485.2 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1433, allocations: 25.7 kB / 485.2 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.1434, allocations: 139.5 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1434, allocations: 19.75 kB / 485.3 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1435, allocations: 25.62 kB / 485.4 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1436, allocations: 322.8 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1437, allocations: 31.97 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1439, allocations: 60.27 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1441, allocations: 92.2 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1441, allocations: 0 / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003021/0.1444, allocations: 129.4 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1444, allocations: 12.12 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1444, allocations: 3.938 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1445, allocations: 4 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1446, allocations: 28.17 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1446, allocations: 3.938 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1447, allocations: 19.92 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1447, allocations: 4 kB / 486.1 MB, free: 15.28 MB / 366.1 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 9.783e-05/0.1449, allocations: 117.8 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1449, allocations: 11.91 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.1449, allocations: 16.3 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1449, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.145, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.145, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1452, allocations: 209.5 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1452, allocations: 0 / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.1453, allocations: 19.98 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1453, allocations: 4 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1453, allocations: 0 / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1453, allocations: 7.938 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1454, allocations: 3.938 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1456, allocations: 179.4 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1457, allocations: 81.02 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1457, allocations: 4 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1458, allocations: 15.92 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1459, allocations: 7.984 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1459, allocations: 0 / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.146, allocations: 114.6 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1462, allocations: 27.84 kB / 486.9 MB, free: 14.38 MB / 366.1 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 9.466e-05/0.1463, allocations: 91.25 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.1466, allocations: 75.94 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1466, allocations: 4 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.1467, allocations: 31.92 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.147, allocations: 11.94 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.1476, allocations: 353.7 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1479, allocations: 0.7059 MB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.148, allocations: 11.44 kB / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.148, allocations: 0 / 488.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.00281/0.1508, allocations: 1.271 MB / 489.4 MB, free: 11.77 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches