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.00131/0.00131, allocations: 106 kB / 21.18 MB, free: 0.707 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.001369/0.001369, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.847/1.847, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001857/0.001857, allocations: 55.92 kB / 347.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4158, allocations: 49.16 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002857/0.4187, allocations: 1.504 MB / 398.3 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.4207, allocations: 0.9155 MB / 399.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.4208, allocations: 0 / 399.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.4209, allocations: 12.75 kB / 399.2 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.963e-05/0.421, allocations: 14.73 kB / 399.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.4213, allocations: 56.28 kB / 399.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.4215, allocations: 129.3 kB / 399.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4216, allocations: 16.45 kB / 399.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008332/0.4224, allocations: 0.5762 MB / 400 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.4226, allocations: 81.59 kB / 400.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.4226, allocations: 9.688 kB / 400.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.4227, allocations: 10.12 kB / 400.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4228, allocations: 61.83 kB / 400.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.4229, allocations: 115.8 kB / 400.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.4235, allocations: 377.3 kB / 400.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4235, allocations: 0 / 400.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4235, allocations: 1.188 kB / 400.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.4235, allocations: 4 kB / 400.7 MB, free: 7.426 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.0007067/0.4242, allocations: 0.6564 MB / 401.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4242, allocations: 13.67 kB / 401.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.4243, allocations: 37.52 kB / 401.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.4246, allocations: 228.9 kB / 401.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.4246, allocations: 5.125 kB / 401.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4247, allocations: 7.531 kB / 401.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.425, allocations: 125.8 kB / 401.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.425, allocations: 1.312 kB / 401.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.425, allocations: 10.91 kB / 401.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.425, allocations: 2.188 kB / 401.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4252, allocations: 57.09 kB / 401.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.4258, allocations: 435.7 kB / 402.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.426, allocations: 73.84 kB / 402.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4261, allocations: 63.03 kB / 402.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.4261, allocations: 4 kB / 402.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.4265, allocations: 210 kB / 402.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.4265, allocations: 0 / 402.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008093/0.4273, allocations: 470.9 kB / 403 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.4274, allocations: 166.7 kB / 403.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.4281, allocations: 0.5157 MB / 403.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4282, allocations: 29.41 kB / 403.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.4282, allocations: 104 kB / 403.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4283, allocations: 32.17 kB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.4284, allocations: 88.83 kB / 404 MB, free: 5.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.4285, allocations: 325 kB / 404.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4286, allocations: 56.8 kB / 404.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4288, allocations: 73.19 kB / 404.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.4291, allocations: 342 kB / 404.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4291, allocations: 1.594 kB / 404.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000549/0.4296, allocations: 392.7 kB / 405.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.4297, allocations: 123.7 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4297, allocations: 0.6094 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4297, allocations: 2.125 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.4298, allocations: 0.75 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4298, allocations: 1.688 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.4299, allocations: 10.41 kB / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.43, allocations: 60.64 kB / 405.3 MB, free: 4.023 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.0003196/0.4303, allocations: 376.4 kB / 405.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.4303, allocations: 39.86 kB / 405.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.4305, allocations: 64.89 kB / 405.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4305, allocations: 0 / 405.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4305, allocations: 2.281 kB / 405.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4305, allocations: 0 / 405.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.4315, allocations: 0.792 MB / 406.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4315, allocations: 0 / 406.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.4315, allocations: 9.344 kB / 406.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.4315, allocations: 0 / 406.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.4315, allocations: 22.12 kB / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4315, allocations: 0 / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4315, allocations: 4.641 kB / 406.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.4322, allocations: 0.53 MB / 407.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.4325, allocations: 214 kB / 407.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.4326, allocations: 7.484 kB / 407.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4327, allocations: 18.97 kB / 407.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4328, allocations: 25.59 kB / 407.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/0.4329, allocations: 62.39 kB / 407.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004543/0.4334, allocations: 386.4 kB / 407.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 407.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.4336, allocations: 45.2 kB / 407.9 MB, free: 2.379 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.0001408/0.4338, allocations: 112.7 kB / 408 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4343, allocations: 377.6 kB / 408.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4343, allocations: 1.281 kB / 408.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.4345, allocations: 305.5 kB / 408.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.4351, allocations: 120.1 kB / 408.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4365, allocations: 0.6572 MB / 409.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.4369, allocations: 0.7985 MB / 410.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.328e-05/0.437, allocations: 10.73 kB / 410.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.437, allocations: 15.53 kB / 410.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.437, allocations: 0 / 410.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Templates: time 0.01163/0.4486, allocations: 4.708 MB / 415 MB, free: 14.39 MB / 334.1 MB " [Timeout remaining time 660] 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.389323385432363]