Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001989/0.001989, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002037/0.002037, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.88e-05, allocations: 6.25 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003079/0.003108, allocations: 1.504 MB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.005758, allocations: 0.8459 MB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.005826, allocations: 0 / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.005969, allocations: 15.86 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.00608, allocations: 23.81 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.00639, allocations: 47.88 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.00664, allocations: 131.7 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006751, allocations: 20.2 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.007554, allocations: 0.5927 MB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.007703, allocations: 59.81 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.00776, allocations: 12 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.007808, allocations: 8 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.007914, allocations: 75.64 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.008022, allocations: 51.8 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.008508, allocations: 378.8 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.008512, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008513, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.008518, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.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.00105/0.009568, allocations: 0.8094 MB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.009608, allocations: 8.031 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.009719, allocations: 44.7 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.01007, allocations: 222.9 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.0101, allocations: 8.375 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.01013, allocations: 8.375 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.01059, allocations: 249 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.0106, allocations: 4.188 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.01063, allocations: 4.375 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01064, allocations: 3.938 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.0109, allocations: 186.8 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01193, allocations: 0.5384 MB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.01224, allocations: 213.8 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.01252, allocations: 198.5 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.01253, allocations: 3.938 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/0.01299, allocations: 343.1 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 3.476e-06/0.01299, allocations: 7.984 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001176/0.01417, allocations: 0.7245 MB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.01432, allocations: 178.1 kB / 279.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.01541, allocations: 0.6936 MB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.01545, allocations: 25.7 kB / 280.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01558, allocations: 151.9 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.01563, allocations: 31.91 kB / 280.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01579, allocations: 95.16 kB / 280.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003251/0.01611, allocations: 0.4962 MB / 281.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.01638, allocations: 182.8 kB / 281.4 MB, free: 8.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.01688, allocations: 210.1 kB / 281.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.01735, allocations: 372.6 kB / 282 MB, free: 7.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01735, allocations: 0 / 282 MB, free: 7.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007804/0.01813, allocations: 0.5225 MB / 282.5 MB, free: 6.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.01828, allocations: 130.8 kB / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01828, allocations: 0 / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.0183, allocations: 0 / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.718e-05/0.01833, allocations: 0 / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01834, allocations: 80 / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01847, allocations: 12.03 kB / 282.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.01856, allocations: 67.91 kB / 282.7 MB, free: 6.73 MB / 266.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.0004541/0.01902, allocations: 385.2 kB / 283.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.0191, allocations: 51.7 kB / 283.2 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.01922, allocations: 63.02 kB / 283.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01922, allocations: 0 / 283.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01923, allocations: 0 / 283.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01923, allocations: 0 / 283.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.02075, allocations: 1.042 MB / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02075, allocations: 0 / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.02076, allocations: 0 / 284.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.02076, allocations: 4 kB / 284.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.02079, allocations: 15.98 kB / 284.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02079, allocations: 0 / 284.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02079, allocations: 192 / 284.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.02178, allocations: 0.7472 MB / 285 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.02219, allocations: 185.5 kB / 285.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.02226, allocations: 16 kB / 285.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.02238, allocations: 11.94 kB / 285.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.02251, allocations: 27.97 kB / 285.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.0226, allocations: 63.91 kB / 285.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006609/0.02326, allocations: 458.7 kB / 285.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02326, allocations: 0 / 285.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.02356, allocations: 44 kB / 285.8 MB, free: 3.457 MB / 266.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.0001767/0.02373, allocations: 111 kB / 285.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008748/0.02461, allocations: 0.655 MB / 286.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02461, allocations: 0 / 286.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.02511, allocations: 464 kB / 287 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.02578, allocations: 133.2 kB / 287.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.02709, allocations: 0.7759 MB / 288 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.02735, allocations: 173.7 kB / 288.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.0274, allocations: 16.69 kB / 288.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.02743, allocations: 16.5 kB / 288.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02743, allocations: 0 / 288.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of Templates: time 0.01027/0.0377, allocations: 4.998 MB / 293.2 MB, free: 11.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.691792560974136]