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.001482/0.001482, allocations: 75.2 kB / 19.93 MB, free: 1.77 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.002193/0.002193, allocations: 171.7 kB / 23.22 MB, free: 4.887 MB / 14.72 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.608/1.608, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2266/0.2266, allocations: 32.37 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.648e-05, allocations: 6.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003304/0.003331, allocations: 1.833 MB / 409.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.004384, allocations: 0.5694 MB / 409.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.004468, allocations: 4 kB / 409.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.004642, allocations: 27.73 kB / 409.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.004764, allocations: 31.7 kB / 409.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.004955, allocations: 59.78 kB / 409.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.005163, allocations: 159.4 kB / 410 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.005313, allocations: 41.66 kB / 410 MB, free: 304 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.005496, allocations: 91.84 kB / 410.1 MB, free: 212 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.003e-05/0.005586, allocations: 47.81 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.005618, allocations: 12 kB / 410.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-05/0.005644, allocations: 12 kB / 410.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.00568, allocations: 27.91 kB / 410.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.005764, allocations: 47.91 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.006005, allocations: 171.4 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.006008, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006008, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006013, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.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.0006507/0.006663, allocations: 370 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006699, allocations: 8.031 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.006747, allocations: 16.84 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.00699, allocations: 145.5 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.007007, allocations: 12.66 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.007031, allocations: 16.38 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.007364, allocations: 140.4 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007374, allocations: 192 / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.007391, allocations: 4.375 kB / 411.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.007401, allocations: 7.938 kB / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.007701, allocations: 108.1 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009639/0.008665, allocations: 0.5053 MB / 411.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.008927, allocations: 70.58 kB / 411.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.009036, allocations: 29 kB / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.009052, allocations: 0 / 411.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.009078, allocations: 34.56 kB / 411.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.009079, allocations: 0 / 411.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004165/0.009495, allocations: 109.7 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.009538, allocations: 51.41 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.009691, allocations: 153.5 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.009714, allocations: 29.69 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.009813, allocations: 131.7 kB / 412.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.009833, allocations: 19.89 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.009893, allocations: 33.61 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.01004, allocations: 322.8 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01015, allocations: 24.05 kB / 412.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01029, allocations: 64.27 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.01054, allocations: 96.19 kB / 412.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01054, allocations: 0 / 412.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003068/0.01085, allocations: 133.5 kB / 413 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01086, allocations: 8.125 kB / 413 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01087, allocations: 0 / 413 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01088, allocations: 4 kB / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01102, allocations: 27.92 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01103, allocations: 0 / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.01113, allocations: 23.88 kB / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01114, allocations: 4 kB / 413.1 MB, free: 13.02 MB / 350.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.000101/0.01124, allocations: 121.8 kB / 413.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.01127, allocations: 11.89 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.0113, allocations: 16.47 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01131, allocations: 0 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01131, allocations: 0 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.01132, allocations: 7.969 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.0115, allocations: 141.2 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.0115, allocations: 0 / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.01159, allocations: 19.92 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.0116, allocations: 4 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.01161, allocations: 0 / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01161, allocations: 0 / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01161, allocations: 4 kB / 413.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.01192, allocations: 187.4 kB / 413.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01194, allocations: 15.88 kB / 413.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01195, allocations: 3.938 kB / 413.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.01205, allocations: 4 kB / 413.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01209, allocations: 3.984 kB / 413.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01209, allocations: 4.062 kB / 413.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.01218, allocations: 111.3 kB / 413.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01218, allocations: 0 / 413.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.01243, allocations: 27.95 kB / 413.8 MB, free: 12.29 MB / 350.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.35e-05/0.01252, allocations: 95.17 kB / 413.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.0128, allocations: 71.89 kB / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.0128, allocations: 0 / 413.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.0129, allocations: 23.98 kB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01314, allocations: 11.84 kB / 414 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01362, allocations: 249.7 kB / 414.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.01371, allocations: 90.28 kB / 414.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.01375, allocations: 11.98 kB / 414.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.01379, allocations: 12.5 kB / 414.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01379, allocations: 0 / 414.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003465/0.01726, allocations: 0.6589 MB / 415 MB, free: 11.02 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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: 5.015999019145966]