Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.001321/0.001321, allocations: 85.95 kB / 23 MB, free: 1.504 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.001075/0.001075, allocations: 176.1 kB / 26.39 MB, free: 8.008 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.9082/0.9082, allocations: 158.6 MB / 188.3 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.412e-05, allocations: 10.19 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00178/0.001804, allocations: 1.499 MB / 253.8 MB, free: 5.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003311, allocations: 0.8663 MB / 254.6 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.003355, allocations: 0 / 254.6 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.829e-05/0.003443, allocations: 11.86 kB / 254.6 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.003514, allocations: 19.86 kB / 254.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.003723, allocations: 55.81 kB / 254.7 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.003862, allocations: 127.7 kB / 254.8 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.003939, allocations: 16.2 kB / 254.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.004392, allocations: 0.5966 MB / 255.5 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004498, allocations: 67.81 kB / 255.5 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.004528, allocations: 12 kB / 255.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.004549, allocations: 8 kB / 255.5 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.004625, allocations: 67.66 kB / 255.6 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.00511, allocations: 59.78 kB / 255.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.005326, allocations: 287 kB / 255.9 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005327, allocations: 3.938 kB / 255.9 MB, free: 3.531 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005328, allocations: 0 / 255.9 MB, free: 3.531 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005331, allocations: 4 kB / 255.9 MB, free: 3.527 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005357/0.005867, allocations: 0.7785 MB / 256.7 MB, free: 2.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.005897, allocations: 15.98 kB / 256.7 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.005952, allocations: 44.7 kB / 256.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.006118, allocations: 222.8 kB / 257 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.006135, allocations: 4.375 kB / 257 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.006153, allocations: 12.38 kB / 257 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.006385, allocations: 237.7 kB / 257.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.006391, allocations: 192 / 257.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.006407, allocations: 8.375 kB / 257.3 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.006412, allocations: 3.938 kB / 257.3 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.601e-05/0.006498, allocations: 154.7 kB / 257.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.006893, allocations: 408.1 kB / 257.8 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.007019, allocations: 181.8 kB / 258 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.00711, allocations: 166.5 kB / 258.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.007114, allocations: 0 / 258.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.0073, allocations: 311.1 kB / 258.5 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 7.51e-07/0.0073, allocations: 0 / 258.5 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009703/0.008271, allocations: 0.658 MB / 259.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.008329, allocations: 174.2 kB / 259.3 MB, free: 15.78 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.008753, allocations: 0.5062 MB / 259.8 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.008773, allocations: 33.64 kB / 259.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.008832, allocations: 147.8 kB / 260 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.00886, allocations: 31.78 kB / 260 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.008934, allocations: 87.19 kB / 260.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.009054, allocations: 0.5001 MB / 260.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.009141, allocations: 146.8 kB / 260.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.009248, allocations: 186.1 kB / 260.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.009424, allocations: 321 kB / 261.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009427, allocations: 4 kB / 261.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003283/0.009755, allocations: 482.9 kB / 261.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.00981, allocations: 130.8 kB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.009814, allocations: 0 / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.009823, allocations: 4 kB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-05/0.009837, allocations: 0 / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.009839, allocations: 0 / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.009918, allocations: 8 kB / 261.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.009962, allocations: 59.92 kB / 261.9 MB, free: 12.93 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002263/0.01019, allocations: 397.4 kB / 262.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01024, allocations: 51.7 kB / 262.3 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.01032, allocations: 59.08 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01032, allocations: 0 / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01032, allocations: 0 / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01032, allocations: 3.984 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.01092, allocations: 0.847 MB / 263.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01092, allocations: 0 / 263.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.01093, allocations: 7.938 kB / 263.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.01093, allocations: 0 / 263.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.01095, allocations: 19.98 kB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01095, allocations: 3.938 kB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01095, allocations: 0 / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.01135, allocations: 0.673 MB / 263.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.01161, allocations: 185.3 kB / 264.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.01166, allocations: 12 kB / 264.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.01175, allocations: 11.98 kB / 264.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.01182, allocations: 19.98 kB / 264.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.01186, allocations: 67.92 kB / 264.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.01209, allocations: 298.9 kB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01209, allocations: 4 kB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.01228, allocations: 44 kB / 264.6 MB, free: 10.06 MB / 250.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.633e-05/0.01238, allocations: 111 kB / 264.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.01272, allocations: 0.5806 MB / 265.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01272, allocations: 0 / 265.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.0129, allocations: 416.2 kB / 265.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.01329, allocations: 126.3 kB / 265.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.01406, allocations: 0.7477 MB / 266.5 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01417, allocations: 95.27 kB / 266.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.01419, allocations: 8.719 kB / 266.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.01444, allocations: 198.1 kB / 266.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01445, allocations: 0 / 266.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of Templates: time 0.005837/0.02028, allocations: 4.787 MB / 271.6 MB, free: 2.684 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.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.763291294220835]