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.001117/0.001117, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001271/0.001271, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.012/1.012, allocations: 158.6 MB / 187.2 MB, free: 2.926 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 2.675e-06/2.675e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.39e-05/4.658e-05, allocations: 10.25 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002832/0.002879, allocations: 1.511 MB / 252.6 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.00463, allocations: 0.8624 MB / 253.4 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.004696, allocations: 3.938 kB / 253.4 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.004824, allocations: 15.92 kB / 253.4 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.004921, allocations: 19.86 kB / 253.5 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.005234, allocations: 47.88 kB / 253.5 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005409, allocations: 131.7 kB / 253.6 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.005523, allocations: 16.22 kB / 253.7 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.006026, allocations: 0.5966 MB / 254.2 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.00615, allocations: 71.73 kB / 254.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.00619, allocations: 8 kB / 254.3 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.006216, allocations: 8 kB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.006301, allocations: 67.72 kB / 254.4 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.006382, allocations: 59.8 kB / 254.5 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.006678, allocations: 286.9 kB / 254.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.006682, allocations: 0 / 254.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.006684, allocations: 0 / 254.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.006691, allocations: 0 / 254.7 MB, free: 3.789 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.000681/0.007372, allocations: 0.7823 MB / 255.5 MB, free: 2.945 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007419, allocations: 11.98 kB / 255.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.007504, allocations: 48.7 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.007744, allocations: 215 kB / 255.8 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.00777, allocations: 12.38 kB / 255.8 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.007795, allocations: 8.375 kB / 255.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.008132, allocations: 257.6 kB / 256.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.008145, allocations: 4.172 kB / 256.1 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.008164, allocations: 8.312 kB / 256.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.008174, allocations: 3.938 kB / 256.1 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.008289, allocations: 166.4 kB / 256.2 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.008896, allocations: 0.4915 MB / 256.7 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.009046, allocations: 189.8 kB / 256.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.00917, allocations: 178.5 kB / 257.1 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.00918, allocations: 3.938 kB / 257.1 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.009424, allocations: 319.2 kB / 257.4 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.009425, allocations: 0 / 257.4 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006242/0.01005, allocations: 0.6932 MB / 258.1 MB, free: 48 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.01014, allocations: 170.2 kB / 258.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.01091, allocations: 0.6232 MB / 258.9 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01094, allocations: 33.7 kB / 258.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.01102, allocations: 143.8 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.01105, allocations: 39.77 kB / 259.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.01114, allocations: 87.17 kB / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.01127, allocations: 0.4923 MB / 259.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.01138, allocations: 166.8 kB / 259.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01151, allocations: 182.1 kB / 260 MB, free: 13.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.01172, allocations: 341 kB / 260.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01173, allocations: 0 / 260.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003831/0.01211, allocations: 495 kB / 260.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.01218, allocations: 126.8 kB / 261 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01219, allocations: 4.031 kB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.0122, allocations: 0 / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/0.01223, allocations: 4 kB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01223, allocations: 0 / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.01232, allocations: 11.98 kB / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.01237, allocations: 55.94 kB / 261 MB, free: 12.83 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.0002544/0.01263, allocations: 393.2 kB / 261.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.01267, allocations: 51.7 kB / 261.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.01276, allocations: 59.08 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.01277, allocations: 4 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01278, allocations: 0 / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01278, allocations: 3.984 kB / 261.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.01356, allocations: 0.957 MB / 262.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01357, allocations: 4 kB / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-06/0.01357, allocations: 0 / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01358, allocations: 0 / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.0136, allocations: 12 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.0136, allocations: 0 / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0136, allocations: 3.938 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.0141, allocations: 0.7005 MB / 263.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.01432, allocations: 185.4 kB / 263.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.01436, allocations: 16.06 kB / 263.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.01444, allocations: 11.98 kB / 263.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.01454, allocations: 31.95 kB / 263.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.01459, allocations: 63.88 kB / 263.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.01496, allocations: 426.7 kB / 263.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01496, allocations: 0 / 263.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.01515, allocations: 40 kB / 264 MB, free: 9.703 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 0.0001369/0.01529, allocations: 123 kB / 264.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.01574, allocations: 0.5926 MB / 264.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01574, allocations: 0 / 264.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.01599, allocations: 430.9 kB / 265.1 MB, free: 8.379 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.01643, allocations: 132.4 kB / 265.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.01756, allocations: 0.7478 MB / 266 MB, free: 7.461 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.07e-05/0.01765, allocations: 99.25 kB / 266.1 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/0.0177, allocations: 4.797 kB / 266.1 MB, free: 7.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.01773, allocations: 16.5 kB / 266.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01774, allocations: 0 / 266.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of Templates: time 0.006546/0.02428, allocations: 5.012 MB / 271.1 MB, free: 2.227 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: 3.2444122890010476]