Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 173.3 MB / 200.8 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.87e-05, allocations: 2.312 kB / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002874/0.002902, allocations: 1.479 MB / 268.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.00498, allocations: 0.8302 MB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.005028, allocations: 8 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.005131, allocations: 7.922 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.005218, allocations: 19.81 kB / 269.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.005772, allocations: 51.81 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.006003, allocations: 135.7 kB / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.006106, allocations: 20.16 kB / 269.9 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.006904, allocations: 0.5927 MB / 270.5 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.007068, allocations: 67.8 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.007126, allocations: 8 kB / 270.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.00717, allocations: 16 kB / 270.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.007272, allocations: 59.78 kB / 270.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.007398, allocations: 59.67 kB / 270.7 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.007885, allocations: 374.8 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.007888, allocations: 4 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007889, allocations: 0 / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.007896, allocations: 0 / 271 MB, free: 3.016 MB / 250.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.001077/0.008974, allocations: 0.8016 MB / 271.8 MB, free: 2.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.009016, allocations: 8.922 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.009132, allocations: 48.69 kB / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.009494, allocations: 226.8 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.009522, allocations: 16.38 kB / 272.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.009548, allocations: 8.312 kB / 272.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.009961, allocations: 253 kB / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.009971, allocations: 192 / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.009993, allocations: 4.375 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01, allocations: 3.938 kB / 272.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.01025, allocations: 182.8 kB / 272.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.0113, allocations: 0.5307 MB / 273.1 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.01162, allocations: 213.8 kB / 273.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.01188, allocations: 198.5 kB / 273.5 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.0119, allocations: 3.938 kB / 273.5 MB, free: 304 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.0124, allocations: 347 kB / 273.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.0124, allocations: 0 / 273.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001163/0.01357, allocations: 0.7245 MB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.0137, allocations: 170.2 kB / 274.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.01477, allocations: 0.7013 MB / 275.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.0148, allocations: 29.7 kB / 275.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01492, allocations: 147.9 kB / 275.6 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.01498, allocations: 39.67 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.01513, allocations: 99.2 kB / 275.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.01542, allocations: 0.5001 MB / 276.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.01566, allocations: 174.8 kB / 276.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01591, allocations: 206.1 kB / 276.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.01663, allocations: 368.9 kB / 277 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01664, allocations: 4 kB / 277 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007891/0.01743, allocations: 0.5179 MB / 277.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.01756, allocations: 134.7 kB / 277.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01756, allocations: 0 / 277.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01758, allocations: 0 / 277.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.01761, allocations: 8.031 kB / 277.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.01761, allocations: 3.938 kB / 277.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.01775, allocations: 8 kB / 277.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.01783, allocations: 55.98 kB / 277.7 MB, free: 11.69 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.000441/0.01827, allocations: 385.3 kB / 278.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.01836, allocations: 55.69 kB / 278.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.01848, allocations: 55.22 kB / 278.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01848, allocations: 0 / 278.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.01849, allocations: 4 kB / 278.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.01849, allocations: 4 kB / 278.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.01997, allocations: 1.042 MB / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01997, allocations: 0 / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.01998, allocations: 0 / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01998, allocations: 0 / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.02001, allocations: 15.98 kB / 279.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.02002, allocations: 0 / 279.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02002, allocations: 0 / 279.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.02099, allocations: 0.7471 MB / 280 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.02142, allocations: 189.3 kB / 280.2 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.0215, allocations: 12 kB / 280.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.02162, allocations: 12 kB / 280.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.02176, allocations: 31.95 kB / 280.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.02184, allocations: 59.92 kB / 280.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000656/0.02249, allocations: 454.7 kB / 280.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02249, allocations: 0 / 280.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.02279, allocations: 48 kB / 280.8 MB, free: 8.398 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001701/0.02296, allocations: 114 kB / 280.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008365/0.0238, allocations: 0.6472 MB / 281.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0238, allocations: 0 / 281.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.02428, allocations: 472 kB / 282 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.02493, allocations: 137.9 kB / 282.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.02625, allocations: 0.772 MB / 282.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.02651, allocations: 177.7 kB / 283.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.02656, allocations: 8.719 kB / 283.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.0266, allocations: 16.5 kB / 283.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.0266, allocations: 4 kB / 283.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of Templates: time 0.01027/0.03686, allocations: 5.004 MB / 288.1 MB, free: 0.793 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.517247715033591]