Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001578/0.001578, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 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.002206/0.002206, allocations: 190.9 kB / 22.93 MB, free: 5.578 MB / 14.72 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.867/1.867, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 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.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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 58.73 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5209, allocations: 49.12 MB / 394.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004331/0.5252, allocations: 1.512 MB / 396 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.5284, allocations: 0.9053 MB / 396.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.5285, allocations: 1.188 kB / 396.9 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.5287, allocations: 12.25 kB / 396.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.5289, allocations: 23.11 kB / 397 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.5294, allocations: 48.06 kB / 397 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.5298, allocations: 132.7 kB / 397.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.53, allocations: 16 kB / 397.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.5315, allocations: 0.5728 MB / 397.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.5318, allocations: 79.44 kB / 397.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.5319, allocations: 9.406 kB / 397.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.5319, allocations: 9.625 kB / 397.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.5321, allocations: 62.92 kB / 397.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.5323, allocations: 116.3 kB / 398 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.533, allocations: 378.1 kB / 398.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.533, allocations: 1.344 kB / 398.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.533, allocations: 0 / 398.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.533, allocations: 0 / 398.4 MB, free: 7.352 MB / 318.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.0009547/0.534, allocations: 0.7318 MB / 399.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.5341, allocations: 10 kB / 399.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.5342, allocations: 39.69 kB / 399.2 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.5345, allocations: 279.9 kB / 399.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.5345, allocations: 5.625 kB / 399.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.5346, allocations: 7.438 kB / 399.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.535, allocations: 134.2 kB / 399.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.535, allocations: 1.031 kB / 399.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.535, allocations: 11.62 kB / 399.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5351, allocations: 1.031 kB / 399.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.5352, allocations: 59.02 kB / 399.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.5361, allocations: 466.7 kB / 400.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.5363, allocations: 76.83 kB / 400.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5365, allocations: 62.62 kB / 400.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5365, allocations: 4 kB / 400.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.537, allocations: 215.9 kB / 400.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.537, allocations: 1.094 kB / 400.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001031/0.538, allocations: 474.3 kB / 400.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/0.5381, allocations: 167.3 kB / 401.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.5391, allocations: 0.5129 MB / 401.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5392, allocations: 33.92 kB / 401.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.5392, allocations: 107.2 kB / 401.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.5393, allocations: 32.97 kB / 401.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.5394, allocations: 89.67 kB / 401.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5396, allocations: 326.5 kB / 402.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.5397, allocations: 54.58 kB / 402.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.5399, allocations: 75.14 kB / 402.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.5403, allocations: 346.5 kB / 402.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5403, allocations: 1.281 kB / 402.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005975/0.5409, allocations: 394.5 kB / 403 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.541, allocations: 122.8 kB / 403.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.541, allocations: 1.094 kB / 403.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.362e-05/0.5411, allocations: 1.281 kB / 403.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.5411, allocations: 1.031 kB / 403.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5411, allocations: 5.094 kB / 403.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5414, allocations: 10.77 kB / 403.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5415, allocations: 61.47 kB / 403.2 MB, free: 3.738 MB / 318.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.0004273/0.5419, allocations: 367.5 kB / 403.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.542, allocations: 40.23 kB / 403.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.5421, allocations: 60.64 kB / 403.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5421, allocations: 1.125 kB / 403.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5421, allocations: 0.6094 kB / 403.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5421, allocations: 3.984 kB / 403.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5434, allocations: 0.8202 MB / 404.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5434, allocations: 5.125 kB / 404.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-06/0.5434, allocations: 4 kB / 404.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.5434, allocations: 1.953 kB / 404.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.5435, allocations: 12.86 kB / 404.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5435, allocations: 4.656 kB / 404.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5435, allocations: 3.938 kB / 404.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.5442, allocations: 0.5302 MB / 405.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.5445, allocations: 253.2 kB / 405.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.5446, allocations: 16.98 kB / 405.3 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5448, allocations: 16.64 kB / 405.3 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.5449, allocations: 25.64 kB / 405.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.545, allocations: 63.55 kB / 405.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007898/0.5458, allocations: 386.3 kB / 405.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5458, allocations: 1.188 kB / 405.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.5463, allocations: 45.11 kB / 405.9 MB, free: 2.004 MB / 318.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.0002817/0.5466, allocations: 120.5 kB / 406 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000682/0.5473, allocations: 380.3 kB / 406.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5473, allocations: 0 / 406.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.5476, allocations: 300.9 kB / 406.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.5483, allocations: 127.1 kB / 406.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.5498, allocations: 0.6627 MB / 407.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5502, allocations: 0.811 MB / 408.2 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.5503, allocations: 10.38 kB / 408.2 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.5504, allocations: 10.31 kB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of SimCode: time 1.724e-06/0.5504, allocations: 1.375 kB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of Templates: time 0.013/0.5634, allocations: 4.719 MB / 413 MB, free: 14.13 MB / 334.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.8141909362748265]