Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002024/0.002024, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002871/0.002871, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.588/1.588, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3496/0.3496, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.631e-05, allocations: 6.25 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003493/0.003529, allocations: 1.906 MB / 377.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004705, allocations: 0.5646 MB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.004793, allocations: 4 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.004985, allocations: 23.8 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.005126, allocations: 43.64 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.005307, allocations: 43.88 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.005547, allocations: 155.4 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005697, allocations: 41.78 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.005872, allocations: 87.84 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.005961, allocations: 39.89 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.005999, allocations: 12 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.006028, allocations: 16 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.006077, allocations: 39.84 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.006148, allocations: 43.89 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.006408, allocations: 159.5 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.006413, allocations: 0 / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006414, allocations: 3.938 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.00642, allocations: 0 / 378.4 MB, free: 1.82 MB / 346.7 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.0008004/0.00722, allocations: 373.9 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.007262, allocations: 8.031 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.007345, allocations: 36.84 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.007659, allocations: 149.5 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.007682, allocations: 8.656 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.007707, allocations: 12.38 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.00807, allocations: 140.4 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.00808, allocations: 192 / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008099, allocations: 4.375 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.00811, allocations: 7.938 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.008681, allocations: 112.7 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.009735, allocations: 0.5095 MB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.01, allocations: 66.52 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.01011, allocations: 33 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.01013, allocations: 3.984 kB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.01016, allocations: 34.56 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01016, allocations: 4 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004509/0.01061, allocations: 109.5 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.01067, allocations: 51.41 kB / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01086, allocations: 145.8 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01088, allocations: 25.7 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.011, allocations: 139.7 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.01102, allocations: 15.83 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.01108, allocations: 29.67 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01127, allocations: 330.8 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.01139, allocations: 27.97 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01154, allocations: 60.22 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.01178, allocations: 96.19 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01178, allocations: 4 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003254/0.0121, allocations: 129.5 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01212, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.01213, allocations: 4 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.01215, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.01231, allocations: 31.92 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.01232, allocations: 8.125 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01242, allocations: 15.88 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01243, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 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.0001232/0.01255, allocations: 125.8 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.01259, allocations: 7.953 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.01262, allocations: 12.45 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01263, allocations: 4 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01263, allocations: 0 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.01263, allocations: 256 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.01284, allocations: 141.2 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01284, allocations: 8 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01294, allocations: 19.92 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01294, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01295, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.01296, allocations: 4.062 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.01296, allocations: 3.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01329, allocations: 191.4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.01331, allocations: 3.953 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01333, allocations: 8 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.01343, allocations: 3.984 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.01347, allocations: 4 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.01347, allocations: 0 / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.01357, allocations: 117.8 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01384, allocations: 27.89 kB / 381.8 MB, free: 14.19 MB / 362.7 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.0001286/0.01397, allocations: 95.19 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.01426, allocations: 71.89 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01426, allocations: 4 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.01437, allocations: 31.91 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01464, allocations: 7.938 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01527, allocations: 257.5 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01539, allocations: 98.52 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.01543, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01546, allocations: 12.5 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01546, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of Templates: time 0.003619/0.01908, allocations: 0.6781 MB / 383 MB, free: 12.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 4.928320016944781]