Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002641/0.002641, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.602/1.602, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2776/0.2776, allocations: 46.91 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.88 kB / 0.4921 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1301, allocations: 65.98 MB / 0.5565 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00345/0.1335, allocations: 1.951 MB / 0.5584 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1345, allocations: 0.6037 MB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.1346, allocations: 4 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.1348, allocations: 35.7 kB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1349, allocations: 35.7 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.135, allocations: 43.89 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1352, allocations: 147.5 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1354, allocations: 53.52 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.1355, allocations: 59.78 kB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.1356, allocations: 67.7 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1356, allocations: 12 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.1356, allocations: 16 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.1356, allocations: 27.92 kB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.1357, allocations: 67.66 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1359, allocations: 159.3 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1359, allocations: 0 / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1359, allocations: 0 / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1359, allocations: 3.938 kB / 0.5597 GB, free: 2.074 MB / 414.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.0006779/0.1366, allocations: 467 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1367, allocations: 8.031 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1367, allocations: 16.84 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.137, allocations: 196.2 kB / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.137, allocations: 8.656 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.137, allocations: 16.31 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.1373, allocations: 144.1 kB / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1373, allocations: 4 kB / 0.5605 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1374, allocations: 4 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1374, allocations: 4 kB / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1377, allocations: 100.8 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1387, allocations: 0.6068 MB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.139, allocations: 74.61 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1391, allocations: 24.97 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1391, allocations: 0 / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1391, allocations: 34.5 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.1391, allocations: 0 / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004082/0.1395, allocations: 117.6 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.1396, allocations: 51.41 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1397, allocations: 157.9 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1398, allocations: 29.7 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.1399, allocations: 139.7 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.1399, allocations: 11.89 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.1399, allocations: 33.67 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1401, allocations: 322.8 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1402, allocations: 23.98 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1403, allocations: 64.2 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1406, allocations: 96.19 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1406, allocations: 3.938 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.1409, allocations: 129.8 kB / 0.5625 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1409, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1409, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1409, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1411, allocations: 35.86 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1411, allocations: 0 / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.1412, allocations: 23.88 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1412, allocations: 4 kB / 0.5625 GB, free: 14.89 MB / 430.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.0001009/0.1413, allocations: 124.1 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1413, allocations: 11.95 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.1414, allocations: 8.312 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1414, allocations: 7.922 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1414, allocations: 3.938 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1414, allocations: 4 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1416, allocations: 201.6 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1416, allocations: 0 / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.1417, allocations: 15.98 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1417, allocations: 4 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.1417, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1417, allocations: 3.938 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.1417, allocations: 3.984 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.142, allocations: 183.5 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1421, allocations: 89 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1421, allocations: 0 / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.1422, allocations: 15.92 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1422, allocations: 0 / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1422, allocations: 4 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1423, allocations: 119.2 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1423, allocations: 0 / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1426, allocations: 27.95 kB / 0.5633 GB, free: 13.98 MB / 430.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.0001092/0.1427, allocations: 91.25 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.143, allocations: 75.95 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.143, allocations: 0 / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1431, allocations: 27.97 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1433, allocations: 7.938 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.1439, allocations: 309.6 kB / 0.5638 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1443, allocations: 0.708 MB / 0.5645 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.1443, allocations: 11.44 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1443, allocations: 0 / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of Templates: time 0.003087/0.1474, allocations: 1.293 MB / 0.5658 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.412067199999001]