Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001215/0.001215, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001214/0.001214, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 158.6 MB / 186.7 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1331/0.1331, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 348.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.571e-05, allocations: 2.312 kB / 348.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00201/0.002025, allocations: 1.91 MB / 350.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.002775, allocations: 0.5891 MB / 351.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.002868, allocations: 4 kB / 351.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.003014, allocations: 31.67 kB / 351.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.003112, allocations: 35.7 kB / 351.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.003251, allocations: 47.92 kB / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003372, allocations: 155.4 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003474, allocations: 37.67 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003605, allocations: 95.72 kB / 351.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.003667, allocations: 47.88 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.003696, allocations: 16 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.003709, allocations: 12 kB / 351.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.003734, allocations: 27.91 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.003767, allocations: 51.84 kB / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003883, allocations: 103.6 kB / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003884, allocations: 0 / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003885, allocations: 0 / 352 MB, free: 6.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003888, allocations: 0 / 352 MB, free: 6.047 MB / 282.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.000321/0.004209, allocations: 476.2 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.004239, allocations: 8.031 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.004271, allocations: 24.84 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.004379, allocations: 144.4 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.004389, allocations: 12.66 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.004401, allocations: 12.38 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004518, allocations: 109.1 kB / 352.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004526, allocations: 4.172 kB / 352.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004536, allocations: 4.375 kB / 352.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004541, allocations: 7.938 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.004589, allocations: 40.12 kB / 352.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.005048, allocations: 0.5514 MB / 353.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.005145, allocations: 55.05 kB / 353.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.005162, allocations: 15.62 kB / 353.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.005174, allocations: 0 / 353.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.00519, allocations: 45.5 kB / 353.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.005191, allocations: 0 / 353.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001151/0.005306, allocations: 65.72 kB / 353.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.005323, allocations: 51.41 kB / 353.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.005385, allocations: 193 kB / 353.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.005392, allocations: 29.7 kB / 353.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.005441, allocations: 190.4 kB / 354 MB, free: 3.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.00545, allocations: 15.84 kB / 354 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.005481, allocations: 35.3 kB / 354.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.00553, allocations: 0.4961 MB / 354.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.005544, allocations: 4 kB / 354.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.005573, allocations: 66.47 kB / 354.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.005625, allocations: 66.36 kB / 354.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005627, allocations: 0 / 354.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.169e-05/0.005708, allocations: 97.48 kB / 354.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.005718, allocations: 4 kB / 354.8 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005723, allocations: 4 kB / 354.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.00573, allocations: 0 / 354.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.005794, allocations: 27.92 kB / 354.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.005797, allocations: 0 / 354.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.005833, allocations: 8 kB / 354.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.005838, allocations: 4 kB / 354.8 MB, free: 2.957 MB / 282.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 4.297e-05/0.005881, allocations: 168.6 kB / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.005898, allocations: 7.953 kB / 355 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.005918, allocations: 16.45 kB / 355 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00592, allocations: 0 / 355 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.005922, allocations: 0 / 355 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.005924, allocations: 3.938 kB / 355 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.006007, allocations: 125.2 kB / 355.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.006008, allocations: 3.938 kB / 355.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.006039, allocations: 19.92 kB / 355.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00604, allocations: 0 / 355.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.006044, allocations: 4 kB / 355.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006044, allocations: 0 / 355.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006045, allocations: 0 / 355.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.006119, allocations: 203.9 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.006128, allocations: 11.89 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.006136, allocations: 0 / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.006174, allocations: 3.984 kB / 355.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.006195, allocations: 11.98 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.006198, allocations: 64 / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.006224, allocations: 143.1 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006224, allocations: 4 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.00638, allocations: 31.89 kB / 355.6 MB, free: 2.156 MB / 282.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 4.349e-05/0.006424, allocations: 95.19 kB / 355.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.541e-05/0.006509, allocations: 39.61 kB / 355.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00651, allocations: 0 / 355.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.006529, allocations: 23.67 kB / 355.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.006704, allocations: 7.938 kB / 355.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.006999, allocations: 259 kB / 356 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.007025, allocations: 67.33 kB / 356.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.536e-05/0.00705, allocations: 0 / 356.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.007085, allocations: 74.2 kB / 356.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007085, allocations: 4 kB / 356.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Templates: time 0.002183/0.009268, allocations: 0.7523 MB / 356.9 MB, free: 0.7852 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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: 3.0730722812004387]