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.001399/0.001399, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00153/0.00153, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.693/1.693, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2232/0.2232, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.001966/0.001966, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 66.02 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003598/0.3368, allocations: 1.894 MB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.338, allocations: 0.5609 MB / 0.5642 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3381, allocations: 4 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.3383, allocations: 35.7 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3384, allocations: 31.7 kB / 0.5643 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3386, allocations: 47.95 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.3388, allocations: 143.5 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3389, allocations: 56.36 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.339, allocations: 55.73 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3391, allocations: 75.69 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3392, allocations: 12 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.3392, allocations: 12 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.3392, allocations: 27.92 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.3393, allocations: 55.73 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3395, allocations: 159 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3395, allocations: 4 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3395, allocations: 0 / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3396, allocations: 0 / 0.5649 GB, free: 0.9961 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.0007103/0.3403, allocations: 374 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3403, allocations: 8.031 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3404, allocations: 16.84 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3406, allocations: 157.3 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3407, allocations: 12.64 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.3407, allocations: 16.38 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.3411, allocations: 136.2 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3411, allocations: 0 / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3411, allocations: 8 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3411, allocations: 8 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.3414, allocations: 108.7 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3425, allocations: 0.505 MB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3428, allocations: 62.52 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3429, allocations: 41 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3429, allocations: 3.938 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.343, allocations: 30.56 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.343, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004032/0.3434, allocations: 109.6 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3434, allocations: 51.41 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3436, allocations: 163.7 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3436, allocations: 25.7 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3437, allocations: 135.5 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3437, allocations: 27.78 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3438, allocations: 25.72 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3439, allocations: 322.8 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.344, allocations: 27.97 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3442, allocations: 60.27 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3444, allocations: 92.2 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3444, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002924/0.3447, allocations: 133.5 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3447, allocations: 4 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3447, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3447, allocations: 8.125 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3449, allocations: 23.98 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3449, allocations: 4.062 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.345, allocations: 20.19 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.345, allocations: 7.938 kB / 0.5675 GB, free: 14.1 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.0001083/0.3451, allocations: 121.8 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3451, allocations: 7.953 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.3452, allocations: 20.39 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3452, allocations: 0 / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3452, allocations: 4 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3452, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3454, allocations: 145.1 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3454, allocations: 4 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.3455, allocations: 15.98 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3455, allocations: 0 / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3455, allocations: 7.984 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3455, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3455, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3458, allocations: 195.3 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.3458, allocations: 7.953 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3458, allocations: 0 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.3459, allocations: 15.92 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.346, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.346, allocations: 4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.153e-05/0.346, allocations: 111.2 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.346, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3463, allocations: 31.89 kB / 0.5682 GB, free: 13.36 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.637e-05/0.3464, allocations: 99.19 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3467, allocations: 67.89 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3467, allocations: 0 / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.3468, allocations: 31.91 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.347, allocations: 13.33 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.3476, allocations: 290.6 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.322e-05/0.3477, allocations: 94.27 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3477, allocations: 11.44 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3477, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Templates: time 0.003136/0.3509, allocations: 1.318 MB / 0.57 GB, free: 11.39 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 -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.5269370790047105]