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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 120.8 kB / 18.45 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 205 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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=1000,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=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 76.81 kB / 490.2 MB, free: 27.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.45 MB / 0.5397 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003318/0.1356, allocations: 1.939 MB / 0.5416 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.1366, allocations: 0.6038 MB / 0.5421 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1367, allocations: 7.938 kB / 0.5421 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.1369, allocations: 27.73 kB / 0.5422 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.137, allocations: 35.7 kB / 0.5422 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1372, allocations: 47.86 kB / 0.5423 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1374, allocations: 147.5 kB / 0.5424 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1376, allocations: 69.47 kB / 0.5425 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1377, allocations: 55.78 kB / 0.5425 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.1378, allocations: 67.69 kB / 0.5426 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.1378, allocations: 16 kB / 0.5426 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-05/0.1379, allocations: 12 kB / 0.5426 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1379, allocations: 27.91 kB / 0.5426 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.138, allocations: 67.67 kB / 0.5427 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1382, allocations: 159.3 kB / 0.5428 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1382, allocations: 0 / 0.5428 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1382, allocations: 0 / 0.5428 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1382, allocations: 0 / 0.5428 GB, free: 0.8555 MB / 398.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.0006851/0.1389, allocations: 455 kB / 0.5433 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.139, allocations: 8.031 kB / 0.5433 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.139, allocations: 20.78 kB / 0.5433 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1393, allocations: 210.9 kB / 0.5435 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1393, allocations: 8.656 kB / 0.5435 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1394, allocations: 24.25 kB / 0.5435 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.1397, allocations: 144.1 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1397, allocations: 0 / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1398, allocations: 8 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1398, allocations: 0 / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1401, allocations: 104.8 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.1411, allocations: 0.6068 MB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1413, allocations: 66.58 kB / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1414, allocations: 33 kB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1415, allocations: 3.984 kB / 0.5445 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1415, allocations: 38.5 kB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1415, allocations: 0 / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003938/0.1419, allocations: 113.6 kB / 0.5446 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.142, allocations: 51.41 kB / 0.5447 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1421, allocations: 161.7 kB / 0.5448 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1422, allocations: 25.7 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.1423, allocations: 135.8 kB / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1423, allocations: 19.83 kB / 0.545 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.1424, allocations: 29.67 kB / 0.545 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1425, allocations: 318.8 kB / 0.5453 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1426, allocations: 27.97 kB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1428, allocations: 68.2 kB / 0.5454 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.143, allocations: 92.2 kB / 0.5455 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.143, allocations: 0 / 0.5455 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003035/0.1433, allocations: 125.5 kB / 0.5456 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1433, allocations: 4 kB / 0.5456 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1434, allocations: 0 / 0.5456 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1434, allocations: 4 kB / 0.5456 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1435, allocations: 31.86 kB / 0.5457 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1435, allocations: 3.938 kB / 0.5457 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1436, allocations: 28 kB / 0.5457 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1437, allocations: 4 kB / 0.5457 GB, free: 13.66 MB / 414.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 0.0001121/0.1438, allocations: 117.8 kB / 0.5458 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1438, allocations: 7.953 kB / 0.5458 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.1439, allocations: 16.3 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1439, allocations: 3.938 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1439, allocations: 3.938 kB / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1439, allocations: 0 / 0.5458 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1441, allocations: 213.6 kB / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1442, allocations: 7.938 kB / 0.5461 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.1443, allocations: 15.98 kB / 0.5461 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1443, allocations: 0 / 0.5461 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1443, allocations: 0 / 0.5461 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1443, allocations: 3.938 kB / 0.5461 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1443, allocations: 3.984 kB / 0.5461 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1446, allocations: 187.5 kB / 0.5463 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.1447, allocations: 85.06 kB / 0.5463 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.1447, allocations: 320 / 0.5463 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1448, allocations: 11.92 kB / 0.5464 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1448, allocations: 4 kB / 0.5464 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1449, allocations: 4 kB / 0.5464 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.145, allocations: 118.2 kB / 0.5465 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 0.5465 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1452, allocations: 31.89 kB / 0.5465 GB, free: 12.74 MB / 414.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.791e-05/0.1453, allocations: 95.25 kB / 0.5466 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1456, allocations: 75.88 kB / 0.5467 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1456, allocations: 0 / 0.5467 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.911e-05/0.1457, allocations: 23.98 kB / 0.5467 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.146, allocations: 10.03 kB / 0.5467 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1465, allocations: 272 kB / 0.547 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1469, allocations: 0.7002 MB / 0.5476 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.1469, allocations: 12.66 kB / 0.5477 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.147, allocations: 11.44 kB / 0.5477 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.147, allocations: 0 / 0.5477 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.003494/0.1505, allocations: 0.7192 MB / 0.5484 GB, free: 10.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980914416722953]