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.001403/0.001403, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002721/0.002721, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.232/0.232, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.001928/0.001928, allocations: 63.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00342/0.3438, allocations: 1.886 MB / 0.5636 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3448, allocations: 0.5609 MB / 0.5642 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.3449, allocations: 4 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3451, allocations: 35.72 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3452, allocations: 31.7 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3454, allocations: 43.95 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3456, allocations: 155.4 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3458, allocations: 53.34 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3459, allocations: 55.86 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.346, allocations: 67.69 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.346, allocations: 12 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.3461, allocations: 12 kB / 0.5646 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.3461, allocations: 31.86 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.3462, allocations: 55.73 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3464, allocations: 170 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3464, allocations: 3.938 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3464, allocations: 0 / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3464, allocations: 0 / 0.5649 GB, free: 0.9609 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.0006678/0.3471, allocations: 370 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3471, allocations: 8.031 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.3472, allocations: 16.84 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3474, allocations: 154.2 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3474, allocations: 8.656 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.3475, allocations: 16.38 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3478, allocations: 132.2 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3478, allocations: 7.938 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3478, allocations: 8 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.3478, allocations: 7.984 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.3481, allocations: 100.8 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.3491, allocations: 0.5089 MB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3493, allocations: 66.58 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.3494, allocations: 33 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3494, allocations: 0 / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3495, allocations: 34.56 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3495, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003977/0.3499, allocations: 109.7 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3499, allocations: 55.41 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.35, allocations: 156.2 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3501, allocations: 29.7 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.3502, allocations: 135.5 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3502, allocations: 27.78 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.3502, allocations: 21.72 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.3505, allocations: 322.8 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3506, allocations: 31.92 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3507, allocations: 64.33 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3509, allocations: 100.2 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3509, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002729/0.3512, allocations: 129.5 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3512, allocations: 4 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3512, allocations: 8.125 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3512, allocations: 0 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3513, allocations: 27.92 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3514, allocations: 0 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.3514, allocations: 15.94 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.3515, allocations: 7.938 kB / 0.5675 GB, free: 14.07 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 9.654e-05/0.3516, allocations: 121.8 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.3516, allocations: 3.953 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.3516, allocations: 20.33 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3516, allocations: 4 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3516, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3516, allocations: 4 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3519, allocations: 145.2 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3519, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.352, allocations: 15.98 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.352, allocations: 0 / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.352, allocations: 0 / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.352, allocations: 7.922 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.352, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3523, allocations: 191.4 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.3523, allocations: 7.953 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3523, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3524, allocations: 7.984 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3524, allocations: 0 / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3524, allocations: 12 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.3525, allocations: 111.2 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3525, allocations: 0 / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3528, allocations: 27.89 kB / 0.5681 GB, free: 13.34 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 0.0001077/0.3529, allocations: 103.2 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.3532, allocations: 71.89 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3532, allocations: 0 / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.3533, allocations: 31.91 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.3535, allocations: 8 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.354, allocations: 268.9 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.434e-05/0.3541, allocations: 98.25 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.3542, allocations: 8 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3542, allocations: 11.44 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3542, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.003577/0.3578, allocations: 0.8066 MB / 0.5695 GB, free: 11.9 MB / 414.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 -s cvode -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: 5.002770559003693]