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.001398/0.001398, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001747/0.001747, allocations: 173.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9857/0.9857, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] 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.243/0.243, allocations: 32.8 MB / 294.6 MB, free: 1.125 MB / 266.7 MB " [Timeout remaining time 180] 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.655e-06/2.655e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.837e-05, allocations: 9.359 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002954/0.002982, allocations: 1.958 MB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.003915, allocations: 0.5997 MB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.004, allocations: 0 / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.004173, allocations: 31.67 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.004294, allocations: 39.7 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.004479, allocations: 47.92 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.004852, allocations: 151.4 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.005001, allocations: 51.11 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.005137, allocations: 87.84 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.00522, allocations: 51.81 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.005249, allocations: 12 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.005266, allocations: 12 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.00529, allocations: 23.92 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.00533, allocations: 51.84 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.005473, allocations: 103.6 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005475, allocations: 0 / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005476, allocations: 8 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.00548, allocations: 0 / 326.4 MB, free: 6.477 MB / 298.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.0004305/0.00591, allocations: 342.4 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.00595, allocations: 12.03 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.005992, allocations: 24.86 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.006121, allocations: 125.6 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.006137, allocations: 8.656 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.006157, allocations: 20.31 kB / 326.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.00629, allocations: 117.1 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.0063, allocations: 4.172 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00631, allocations: 4.375 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006317, allocations: 7.938 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.006362, allocations: 28.83 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.006845, allocations: 447.1 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006958, allocations: 38.55 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.006974, allocations: 16.97 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.006987, allocations: 11.94 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.007004, allocations: 30.56 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.007006, allocations: 0 / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000127/0.007133, allocations: 49.62 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.007164, allocations: 55.41 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.007243, allocations: 146.6 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.007252, allocations: 25.7 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.007298, allocations: 135.7 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.007307, allocations: 15.89 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.007337, allocations: 25.67 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.007423, allocations: 326.8 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.007437, allocations: 12 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.007466, allocations: 37.3 kB / 328.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.007516, allocations: 64.08 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.00752, allocations: 4 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.355e-05/0.007593, allocations: 69.61 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007606, allocations: 12.12 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007612, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.007625, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.007689, allocations: 27.92 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.007692, allocations: 4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.007726, allocations: 7.938 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007733, allocations: 7.984 kB / 328.6 MB, free: 4.051 MB / 298.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 5.997e-05/0.007793, allocations: 113.8 kB / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.007807, allocations: 4 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.007828, allocations: 20.41 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.00783, allocations: 7.984 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007832, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007835, allocations: 3.984 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.007932, allocations: 101.8 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007934, allocations: 0 / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.007963, allocations: 15.92 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007965, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.007971, allocations: 4 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007972, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007972, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.299e-05/0.008055, allocations: 147.5 kB / 329 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.00807, allocations: 15.83 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.008079, allocations: 0 / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.008113, allocations: 0 / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.008141, allocations: 11.92 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.008144, allocations: 0 / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.008174, allocations: 35.23 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008174, allocations: 0 / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.008312, allocations: 23.95 kB / 329.1 MB, free: 3.512 MB / 298.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 8.194e-05/0.008394, allocations: 72.42 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.008468, allocations: 46.08 kB / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.008471, allocations: 0 / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.008486, allocations: 16.92 kB / 329.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.008613, allocations: 11.98 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.00925, allocations: 262.2 kB / 329.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.009284, allocations: 67.33 kB / 329.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.009312, allocations: 4 kB / 329.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.009364, allocations: 55.38 kB / 329.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009365, allocations: 0 / 329.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of Templates: time 0.002234/0.0116, allocations: 0.6733 MB / 330.3 MB, free: 2.262 MB / 298.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.948948120698333]