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.001055/0.001055, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001105/0.001105, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.9591/0.9591, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1497/0.1497, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.454e-06/2.454e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.719e-05, allocations: 2.312 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00231/0.002337, allocations: 1.924 MB / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00081/0.003147, allocations: 0.5852 MB / 350.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.003247, allocations: 4 kB / 350.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.003426, allocations: 39.66 kB / 350.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.003539, allocations: 35.64 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.003718, allocations: 43.94 kB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.00388, allocations: 151.4 kB / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.004008, allocations: 45.64 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.004181, allocations: 87.86 kB / 350.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.004253, allocations: 43.88 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.004283, allocations: 12 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.004301, allocations: 19.94 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.004326, allocations: 31.91 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.004369, allocations: 43.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.004521, allocations: 107.5 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.004525, allocations: 7.984 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004526, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.004531, allocations: 0 / 350.8 MB, free: 6.285 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.0004286/0.00496, allocations: 468.2 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.004999, allocations: 12.03 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.005055, allocations: 24.84 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.005207, allocations: 144.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.00522, allocations: 8.656 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.005235, allocations: 20.38 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.005407, allocations: 113.2 kB / 351.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.005417, allocations: 4.172 kB / 351.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.00543, allocations: 4.375 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.005439, allocations: 11.92 kB / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.005514, allocations: 48.19 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.006075, allocations: 0.5475 MB / 352.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.006211, allocations: 51.08 kB / 352.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.006235, allocations: 19.62 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.006252, allocations: 0 / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.006269, allocations: 41.52 kB / 352.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.00627, allocations: 0 / 352.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001589/0.006429, allocations: 61.64 kB / 352.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.006451, allocations: 51.41 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.006526, allocations: 201 kB / 352.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-06/0.006533, allocations: 29.7 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.006578, allocations: 182.4 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.006589, allocations: 23.83 kB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.006627, allocations: 31.33 kB / 352.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.006677, allocations: 0.5 MB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.006701, allocations: 15.98 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.006741, allocations: 58.38 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.182e-05/0.006803, allocations: 70.36 kB / 353.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.006805, allocations: 4 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.577e-05/0.006901, allocations: 93.56 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006914, allocations: 4 kB / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.006921, allocations: 4 kB / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006936, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.007002, allocations: 27.98 kB / 353.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007007, allocations: 0 / 353.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.007045, allocations: 11.98 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007052, allocations: 256 / 353.7 MB, free: 3.176 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 5.092e-05/0.007102, allocations: 172.4 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.007119, allocations: 8.016 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.007143, allocations: 16.47 kB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007145, allocations: 0 / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007149, allocations: 4 kB / 353.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007153, allocations: 3.984 kB / 353.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.00725, allocations: 156.5 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007251, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.007282, allocations: 15.98 kB / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007284, allocations: 0 / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.00729, allocations: 0 / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007292, allocations: 0 / 354 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007293, allocations: 4 kB / 354 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.007385, allocations: 211.8 kB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007397, allocations: 7.953 kB / 354.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.00741, allocations: 0 / 354.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.007445, allocations: 4 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.007484, allocations: 7.969 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.007489, allocations: 4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.412e-05/0.007533, allocations: 143.2 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007533, allocations: 0 / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.007692, allocations: 27.89 kB / 354.4 MB, free: 2.34 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 6.579e-05/0.007758, allocations: 107.2 kB / 354.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.007863, allocations: 43.61 kB / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007865, allocations: 0 / 354.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.007887, allocations: 19.62 kB / 354.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008088, allocations: 11.92 kB / 354.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.008486, allocations: 255.1 kB / 354.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.008522, allocations: 63.34 kB / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.008561, allocations: 7.984 kB / 354.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.008599, allocations: 12.5 kB / 354.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0086, allocations: 0 / 354.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of Templates: time 0.002767/0.01137, allocations: 0.7174 MB / 355.7 MB, free: 1.051 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: 2.9281423431821167]