Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001863/0.001863, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002453/0.002453, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2598, allocations: 53.36 MB / 431.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002865/0.2627, allocations: 1.532 MB / 433.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.2648, allocations: 0.9004 MB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.2649, allocations: 0 / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.191e-05/0.265, allocations: 7.922 kB / 434.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.2651, allocations: 23.78 kB / 434.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2653, allocations: 47.95 kB / 434.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.2656, allocations: 135.7 kB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2657, allocations: 8.234 kB / 434.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.2663, allocations: 0.5848 MB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2665, allocations: 71.75 kB / 434.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.2665, allocations: 8 kB / 434.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.2665, allocations: 16 kB / 434.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.2666, allocations: 67.64 kB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2668, allocations: 115.2 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.2672, allocations: 379.9 kB / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2672, allocations: 0 / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2672, allocations: 0 / 435.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2672, allocations: 0 / 435.5 MB, free: 3.18 MB / 334.1 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.000815/0.268, allocations: 0.6513 MB / 436.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2681, allocations: 12.03 kB / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.2681, allocations: 40.7 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.2684, allocations: 216.8 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2685, allocations: 4.375 kB / 436.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.2685, allocations: 16.3 kB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.2688, allocations: 137.9 kB / 436.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2688, allocations: 0 / 436.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.2689, allocations: 7.938 kB / 436.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2689, allocations: 0 / 436.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.269, allocations: 59.95 kB / 436.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.2697, allocations: 427.6 kB / 437.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2699, allocations: 74.48 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.27, allocations: 60.89 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.27, allocations: 4 kB / 437.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.2704, allocations: 209.8 kB / 437.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.2704, allocations: 4 kB / 437.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000839/0.2712, allocations: 480.1 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.2714, allocations: 166.2 kB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.272, allocations: 0.5091 MB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2721, allocations: 29.7 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.2721, allocations: 105.1 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.2722, allocations: 35.77 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2723, allocations: 77.56 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2724, allocations: 330.8 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2726, allocations: 55.97 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2727, allocations: 73.62 kB / 439.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.2731, allocations: 339.3 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2731, allocations: 0 / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000564/0.2736, allocations: 399.8 kB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.2737, allocations: 122.8 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2737, allocations: 4.031 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2737, allocations: 0 / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.2738, allocations: 0 / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2738, allocations: 4 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.2739, allocations: 11.98 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.274, allocations: 59.94 kB / 440.1 MB, free: 14.15 MB / 350.1 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.0003622/0.2743, allocations: 370.6 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.2744, allocations: 43.7 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2745, allocations: 71.06 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2745, allocations: 0 / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2745, allocations: 4 kB / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2745, allocations: 0 / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.2755, allocations: 0.789 MB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2755, allocations: 4 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.2755, allocations: 0 / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2756, allocations: 0 / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.2756, allocations: 16 kB / 441.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2756, allocations: 0 / 441.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.2756, allocations: 11.92 kB / 441.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.2763, allocations: 0.5293 MB / 442 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.2767, allocations: 205.4 kB / 442.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.2767, allocations: 15.98 kB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2769, allocations: 8 kB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.277, allocations: 31.91 kB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.2771, allocations: 52 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004961/0.2776, allocations: 394.9 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.2779, allocations: 43.94 kB / 442.7 MB, free: 11.44 MB / 350.1 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.0001512/0.278, allocations: 114 kB / 442.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.2785, allocations: 381.5 kB / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2785, allocations: 0 / 443.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.2789, allocations: 305.6 kB / 443.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.2794, allocations: 117.6 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2805, allocations: 0.6532 MB / 444.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.281, allocations: 0.7983 MB / 445.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.2811, allocations: 8.656 kB / 445.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2811, allocations: 11.44 kB / 445.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2811, allocations: 0 / 445.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of Templates: time 0.008842/0.2899, allocations: 4.715 MB / 449.8 MB, free: 4.148 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.664713765028864]