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.001056/0.001056, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001026/0.001026, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.089/1.089, allocations: 158.6 MB / 186 MB, free: 2.906 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.1394/0.1394, allocations: 32.36 MB / 270.7 MB, free: 14.76 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 2.364e-06/2.364e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.517e-05, allocations: 2.312 kB / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002016/0.002041, allocations: 1.916 MB / 349.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.002781, allocations: 0.5852 MB / 350.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.00288, allocations: 11.94 kB / 350.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.003053, allocations: 35.72 kB / 350.2 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.003166, allocations: 35.64 kB / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.003335, allocations: 43.94 kB / 350.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.003508, allocations: 147.4 kB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.003653, allocations: 49.64 kB / 350.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.003806, allocations: 87.8 kB / 350.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.003868, allocations: 43.88 kB / 350.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.003894, allocations: 16 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.003908, allocations: 16 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.003932, allocations: 35.84 kB / 350.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.003968, allocations: 43.91 kB / 350.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004095, allocations: 99.64 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004097, allocations: 3.938 kB / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004098, allocations: 0 / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004102, allocations: 0 / 350.8 MB, free: 6.629 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.0003697/0.004471, allocations: 480.2 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.004504, allocations: 8.031 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.004548, allocations: 24.84 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.00469, allocations: 144.4 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004702, allocations: 8.656 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.004716, allocations: 16.38 kB / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.004877, allocations: 113.2 kB / 351.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004885, allocations: 192 / 351.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004897, allocations: 4.375 kB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.004905, allocations: 7.938 kB / 351.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.004983, allocations: 64.11 kB / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.005509, allocations: 0.5437 MB / 352.2 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.005626, allocations: 55.06 kB / 352.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.005649, allocations: 11.69 kB / 352.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.005664, allocations: 0 / 352.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.00568, allocations: 41.52 kB / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.00568, allocations: 0 / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001375/0.005818, allocations: 65.53 kB / 352.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.005834, allocations: 51.41 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.005906, allocations: 205 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.005911, allocations: 29.7 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.005952, allocations: 178.5 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.005961, allocations: 23.83 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.00599, allocations: 35.33 kB / 352.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.006035, allocations: 0.4961 MB / 353.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.006053, allocations: 4 kB / 353.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.006087, allocations: 66.3 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.006141, allocations: 82.34 kB / 353.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006143, allocations: 0 / 353.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.209e-05/0.006225, allocations: 85.52 kB / 353.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006237, allocations: 4 kB / 353.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006242, allocations: 4 kB / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006253, allocations: 0 / 353.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.006315, allocations: 27.98 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.00632, allocations: 8.125 kB / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.006364, allocations: 12 kB / 353.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.006371, allocations: 8.234 kB / 353.7 MB, free: 3.5 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.563e-05/0.006417, allocations: 164.5 kB / 353.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.006433, allocations: 7.953 kB / 353.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.006453, allocations: 12.47 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006454, allocations: 4 kB / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.006457, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00646, allocations: 0 / 353.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.635e-05/0.006556, allocations: 160.5 kB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006557, allocations: 4 kB / 354 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.006586, allocations: 15.98 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006588, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.006593, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006595, allocations: 3.938 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006596, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.393e-05/0.00667, allocations: 207.8 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.006679, allocations: 7.953 kB / 354.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.006691, allocations: 0 / 354.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.006728, allocations: 4 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.006764, allocations: 3.984 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006768, allocations: 12 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.36e-05/0.006801, allocations: 139.2 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006801, allocations: 0 / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.006965, allocations: 27.89 kB / 354.4 MB, free: 2.676 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 5.73e-05/0.007022, allocations: 99.23 kB / 354.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.007123, allocations: 43.61 kB / 354.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007124, allocations: 3.938 kB / 354.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.007144, allocations: 19.62 kB / 354.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.00733, allocations: 16.19 kB / 354.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.007683, allocations: 254.7 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.101e-05/0.007714, allocations: 63.34 kB / 354.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.922e-05/0.007743, allocations: 11.98 kB / 354.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.007772, allocations: 12.5 kB / 354.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.007773, allocations: 0 / 354.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Templates: time 0.002256/0.01003, allocations: 0.6797 MB / 355.6 MB, free: 1.418 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.022781460080296]