Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002219/0.002219, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.002577/0.002577, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.635/1.635, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2415/0.2415, allocations: 46.89 MB / 358.1 MB, free: 10.54 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.4923 GB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1243, allocations: 65.99 MB / 0.5568 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003378/0.1277, allocations: 1.949 MB / 0.5587 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1288, allocations: 0.6115 MB / 0.5593 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.1289, allocations: 4 kB / 0.5593 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.129, allocations: 31.73 kB / 0.5593 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1292, allocations: 31.7 kB / 0.5593 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1293, allocations: 47.94 kB / 0.5594 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1295, allocations: 147.5 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1296, allocations: 49.53 kB / 0.5596 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.1297, allocations: 59.72 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1298, allocations: 63.7 kB / 0.5597 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1299, allocations: 12 kB / 0.5597 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.611e-05/0.1299, allocations: 16 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.1299, allocations: 39.89 kB / 0.5598 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.13, allocations: 63.67 kB / 0.5598 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1302, allocations: 159.3 kB / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1302, allocations: 0 / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1302, allocations: 0 / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1303, allocations: 3.938 kB / 0.56 GB, free: 2.684 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.0006992/0.131, allocations: 451.1 kB / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.131, allocations: 12.03 kB / 0.5604 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.131, allocations: 16.84 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1313, allocations: 208.1 kB / 0.5606 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1313, allocations: 8.656 kB / 0.5606 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1314, allocations: 12.38 kB / 0.5606 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1317, allocations: 140.1 kB / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1317, allocations: 0 / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1317, allocations: 4 kB / 0.5608 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1317, allocations: 4 kB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.132, allocations: 108.7 kB / 0.5609 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1331, allocations: 0.5991 MB / 0.5615 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1334, allocations: 74.52 kB / 0.5616 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1335, allocations: 29 kB / 0.5616 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1335, allocations: 0 / 0.5616 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1335, allocations: 30.56 kB / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.083e-06/0.1335, allocations: 0 / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004125/0.134, allocations: 117.6 kB / 0.5617 GB, free: 0.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.134, allocations: 55.34 kB / 0.5618 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1342, allocations: 169.1 kB / 0.5619 GB, free: 472 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1342, allocations: 29.64 kB / 0.562 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.1343, allocations: 135.8 kB / 0.5621 GB, free: 296 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1343, allocations: 11.89 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.1343, allocations: 29.67 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1345, allocations: 322.8 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1346, allocations: 31.97 kB / 0.5625 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1348, allocations: 60.27 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.135, allocations: 92.2 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.135, allocations: 3.938 kB / 0.5626 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002929/0.1353, allocations: 125.5 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1353, allocations: 4.125 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1353, allocations: 8 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1353, allocations: 0 / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1355, allocations: 27.92 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1355, allocations: 4 kB / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.1356, allocations: 19.88 kB / 0.5628 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1356, allocations: 4 kB / 0.5628 GB, free: 15.51 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.000103/0.1357, allocations: 125.8 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1357, allocations: 15.94 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.1357, allocations: 12.3 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1357, allocations: 3.938 kB / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1358, allocations: 4 kB / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1358, allocations: 0 / 0.563 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.136, allocations: 205.6 kB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.136, allocations: 0 / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.1361, allocations: 15.98 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1361, allocations: 0 / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1361, allocations: 0 / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1361, allocations: 3.938 kB / 0.5632 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1361, allocations: 4 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1364, allocations: 187.4 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.1365, allocations: 85.06 kB / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1365, allocations: 320 / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.1366, allocations: 11.92 kB / 0.5634 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1366, allocations: 12 kB / 0.5635 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1366, allocations: 4 kB / 0.5635 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9e-05/0.1367, allocations: 113.9 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1367, allocations: 0 / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.137, allocations: 31.89 kB / 0.5636 GB, free: 14.59 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 9.895e-05/0.1371, allocations: 91.25 kB / 0.5637 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1374, allocations: 83.98 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1374, allocations: 0 / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.1375, allocations: 31.86 kB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1377, allocations: 4 kB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1383, allocations: 301.4 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1387, allocations: 0.7082 MB / 0.5648 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.1387, allocations: 11.44 kB / 0.5648 GB, free: 13.31 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1387, allocations: 0 / 0.5648 GB, free: 13.31 MB / 430.1 MB Notification: Performance of Templates: time 0.003149/0.1419, allocations: 1.288 MB / 0.5661 GB, free: 12.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.436390788992867]