Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 110.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002589/0.002589, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.865/1.865, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.426/0.426, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 73.14 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003623/0.1318, allocations: 1.96 MB / 471.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.1328, allocations: 0.5532 MB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.1329, allocations: 4 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1331, allocations: 27.78 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1332, allocations: 27.83 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1335, allocations: 35.91 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1336, allocations: 139.5 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1338, allocations: 65.27 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.134, allocations: 55.84 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.134, allocations: 59.7 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1341, allocations: 12 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.1341, allocations: 8 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.1342, allocations: 27.86 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.1343, allocations: 71.64 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1344, allocations: 116 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1344, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1344, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1344, allocations: 0 / 472.3 MB, free: 11.67 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.0007311/0.1352, allocations: 443.3 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1352, allocations: 12.03 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1353, allocations: 12.75 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1355, allocations: 210.8 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1355, allocations: 8.656 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1356, allocations: 12.38 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.1359, allocations: 152.1 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1359, allocations: 0 / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.136, allocations: 8 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.136, allocations: 0 / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1363, allocations: 108.8 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1373, allocations: 0.6028 MB / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1376, allocations: 74.59 kB / 473.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1377, allocations: 28.97 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1377, allocations: 0 / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1378, allocations: 34.56 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1378, allocations: 0 / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004062/0.1382, allocations: 117.4 kB / 474.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1382, allocations: 59.39 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1384, allocations: 149.7 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1384, allocations: 33.64 kB / 474.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.1385, allocations: 139.4 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1385, allocations: 15.75 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.1386, allocations: 25.7 kB / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1387, allocations: 318.8 kB / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1388, allocations: 31.97 kB / 474.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.139, allocations: 64.2 kB / 474.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1392, allocations: 100.2 kB / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1392, allocations: 0 / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002974/0.1395, allocations: 129.4 kB / 475.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1395, allocations: 4 kB / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1395, allocations: 0 / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1396, allocations: 4.125 kB / 475.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1397, allocations: 39.84 kB / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1397, allocations: 0 / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1398, allocations: 11.91 kB / 475.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1399, allocations: 4 kB / 475.2 MB, free: 8.496 MB / 350.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.815e-05/0.14, allocations: 125.8 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.14, allocations: 7.906 kB / 475.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.14, allocations: 12.31 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.14, allocations: 7.938 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1401, allocations: 0 / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1401, allocations: 0 / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1403, allocations: 205.6 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1403, allocations: 4 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1404, allocations: 23.86 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1404, allocations: 0 / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1404, allocations: 0 / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1404, allocations: 3.938 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1405, allocations: 3.938 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1407, allocations: 187.4 kB / 475.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1408, allocations: 81.33 kB / 475.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1408, allocations: 7.984 kB / 475.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1409, allocations: 11.94 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.141, allocations: 7.984 kB / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.141, allocations: 0 / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.1411, allocations: 112.6 kB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1414, allocations: 31.84 kB / 476 MB, free: 7.59 MB / 350.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 0.0001008/0.1415, allocations: 99.7 kB / 476.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.1417, allocations: 67.89 kB / 476.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1418, allocations: 0 / 476.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1419, allocations: 32.23 kB / 476.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1422, allocations: 4 kB / 476.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.1429, allocations: 349.3 kB / 476.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1432, allocations: 0.704 MB / 477.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1433, allocations: 11.44 kB / 477.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1433, allocations: 4 kB / 477.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.002935/0.1462, allocations: 1.244 MB / 478.5 MB, free: 5.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches