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.001388/0.001388, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.001575/0.001575, allocations: 162 kB / 25.02 MB, free: 8.945 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.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.884e-06/1.884e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.25e-05, allocations: 6.109 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002847/0.002879, allocations: 1.478 MB / 251.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.004975, allocations: 0.8402 MB / 252.7 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.005014, allocations: 0 / 252.7 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.005102, allocations: 19.86 kB / 252.7 MB, free: 5.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.005187, allocations: 23.8 kB / 252.7 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.00544, allocations: 51.81 kB / 252.8 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005641, allocations: 131.7 kB / 252.9 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.005725, allocations: 16.23 kB / 252.9 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.006452, allocations: 0.5966 MB / 253.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.006586, allocations: 63.81 kB / 253.6 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.006625, allocations: 8 kB / 253.6 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.006654, allocations: 8 kB / 253.6 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.006747, allocations: 75.72 kB / 253.7 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.006844, allocations: 59.72 kB / 253.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.00727, allocations: 366.8 kB / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007273, allocations: 0 / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007274, allocations: 4 kB / 254.1 MB, free: 4.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007279, allocations: 0 / 254.1 MB, free: 4.09 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.0008231/0.008102, allocations: 0.6552 MB / 254.7 MB, free: 3.379 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.008138, allocations: 15.98 kB / 254.8 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.008241, allocations: 44.7 kB / 254.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.008549, allocations: 224 kB / 255 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.008569, allocations: 4.375 kB / 255 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.008596, allocations: 12.38 kB / 255 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.009007, allocations: 244.7 kB / 255.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009015, allocations: 192 / 255.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.009047, allocations: 12.36 kB / 255.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.009053, allocations: 3.938 kB / 255.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.009299, allocations: 178.8 kB / 255.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.009947, allocations: 384.2 kB / 255.8 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.01022, allocations: 193.3 kB / 256 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.01046, allocations: 179.7 kB / 256.2 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.01047, allocations: 7.938 kB / 256.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.01093, allocations: 329.4 kB / 256.5 MB, free: 1.363 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.01093, allocations: 0 / 256.5 MB, free: 1.363 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.01201, allocations: 0.7128 MB / 257.2 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.01213, allocations: 166.2 kB / 257.4 MB, free: 380 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.01285, allocations: 0.513 MB / 257.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.01289, allocations: 29.7 kB / 258 MB, free: 15.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.01298, allocations: 113 kB / 258.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.01303, allocations: 27.8 kB / 258.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.01315, allocations: 85.5 kB / 258.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01333, allocations: 322.8 kB / 258.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.01355, allocations: 174.8 kB / 258.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.01379, allocations: 196.6 kB / 258.8 MB, free: 14.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.01422, allocations: 359.2 kB / 259.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01422, allocations: 4.062 kB / 259.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007275/0.01495, allocations: 0.5069 MB / 259.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.01507, allocations: 130.8 kB / 259.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01507, allocations: 0 / 259.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01509, allocations: 0 / 259.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.01511, allocations: 7.938 kB / 259.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01512, allocations: 8.094 kB / 259.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.01525, allocations: 11.98 kB / 259.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.01533, allocations: 55.94 kB / 259.9 MB, free: 13.63 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.0003996/0.01573, allocations: 362.5 kB / 260.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.01581, allocations: 51.7 kB / 260.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.01591, allocations: 59.09 kB / 260.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01592, allocations: 0 / 260.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01592, allocations: 0 / 260.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01592, allocations: 3.984 kB / 260.4 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.01707, allocations: 0.8782 MB / 261.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01707, allocations: 0 / 261.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.01708, allocations: 0 / 261.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01708, allocations: 0 / 261.3 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.01711, allocations: 19.98 kB / 261.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01711, allocations: 0 / 261.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01711, allocations: 0 / 261.3 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.01797, allocations: 0.6804 MB / 262 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.01835, allocations: 197.4 kB / 262.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.0184, allocations: 12 kB / 262.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.01854, allocations: 12.17 kB / 262.2 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.01865, allocations: 27.98 kB / 262.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.01872, allocations: 63.92 kB / 262.3 MB, free: 11.1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005366/0.01926, allocations: 386.9 kB / 262.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01926, allocations: 3.938 kB / 262.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.01955, allocations: 43.94 kB / 262.7 MB, free: 10.68 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.0001746/0.01973, allocations: 119 kB / 262.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.02048, allocations: 0.6124 MB / 263.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02048, allocations: 0 / 263.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.02092, allocations: 420.4 kB / 263.8 MB, free: 9.355 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.02154, allocations: 136.7 kB / 264 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.02276, allocations: 0.795 MB / 264.8 MB, free: 8.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.02304, allocations: 197.7 kB / 265 MB, free: 8.168 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.02307, allocations: 4.734 kB / 265 MB, free: 8.164 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.0231, allocations: 16.5 kB / 265 MB, free: 8.148 MB / 250.7 MB Notification: Performance of SimCode: time 4.6e-07/0.0231, allocations: 0 / 265 MB, free: 8.148 MB / 250.7 MB Notification: Performance of Templates: time 0.009204/0.03231, allocations: 4.995 MB / 270 MB, free: 3.074 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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: 4.41034296003636]