Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.535/1.535, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 67.83 kB / 369 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3359, allocations: 53.32 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004015/0.3399, allocations: 1.522 MB / 423.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.343, allocations: 0.8888 MB / 424.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.3431, allocations: 0 / 424.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3432, allocations: 15.86 kB / 424.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.3433, allocations: 19.84 kB / 424.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.3437, allocations: 43.91 kB / 424.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.3441, allocations: 127.7 kB / 424.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3443, allocations: 24.2 kB / 424.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.3452, allocations: 0.5732 MB / 425.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3455, allocations: 75.69 kB / 425.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/0.3456, allocations: 16 kB / 425.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.3456, allocations: 8 kB / 425.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3457, allocations: 67.7 kB / 425.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3459, allocations: 115.2 kB / 425.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.3465, allocations: 370 kB / 426.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3465, allocations: 4 kB / 426.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3465, allocations: 0 / 426.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.3466, allocations: 0 / 426.1 MB, free: 3.945 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.001274/0.3478, allocations: 0.7256 MB / 426.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.3479, allocations: 16.03 kB / 426.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.348, allocations: 36.7 kB / 426.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.3485, allocations: 286.5 kB / 427.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3485, allocations: 8.375 kB / 427.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.3485, allocations: 8.375 kB / 427.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.3489, allocations: 132.7 kB / 427.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3489, allocations: 0 / 427.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.3489, allocations: 4 kB / 427.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3489, allocations: 0 / 427.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3491, allocations: 67.94 kB / 427.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.3499, allocations: 460.5 kB / 427.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3501, allocations: 70.55 kB / 427.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3503, allocations: 64.88 kB / 428 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3503, allocations: 0 / 428 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.3507, allocations: 214.8 kB / 428.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.3507, allocations: 0 / 428.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.3518, allocations: 484.1 kB / 428.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3519, allocations: 170.2 kB / 428.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.3526, allocations: 0.509 MB / 429.3 MB, free: 460 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.3526, allocations: 33.7 kB / 429.4 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.3527, allocations: 101.1 kB / 429.5 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.3528, allocations: 35.72 kB / 429.5 MB, free: 280 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3529, allocations: 89.55 kB / 429.6 MB, free: 184 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3531, allocations: 322.8 kB / 429.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3532, allocations: 55.97 kB / 430 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3534, allocations: 80.2 kB / 430 MB, free: 15.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3538, allocations: 342.8 kB / 430.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3538, allocations: 0 / 430.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005818/0.3543, allocations: 392.3 kB / 430.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3544, allocations: 130.8 kB / 430.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3545, allocations: 0 / 430.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3545, allocations: 4 kB / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.3545, allocations: 0 / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3545, allocations: 0 / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3546, allocations: 12.09 kB / 430.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.3547, allocations: 63.89 kB / 431 MB, free: 14.69 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.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.0003718/0.3551, allocations: 370.6 kB / 431.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.3551, allocations: 43.77 kB / 431.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3553, allocations: 63.16 kB / 431.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3553, allocations: 0 / 431.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3553, allocations: 7.984 kB / 431.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3553, allocations: 0 / 431.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3567, allocations: 0.8173 MB / 432.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3567, allocations: 0 / 432.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.3567, allocations: 7.938 kB / 432.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3567, allocations: 0 / 432.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.3567, allocations: 8 kB / 432.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3567, allocations: 8.188 kB / 432.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.3568, allocations: 7.938 kB / 432.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.3577, allocations: 0.5332 MB / 432.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.3582, allocations: 240.6 kB / 433 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.3583, allocations: 12 kB / 433.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3585, allocations: 11.98 kB / 433.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3587, allocations: 31.91 kB / 433.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/0.3588, allocations: 59.94 kB / 433.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007554/0.3595, allocations: 390.9 kB / 433.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3595, allocations: 4 kB / 433.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.36, allocations: 43.94 kB / 433.6 MB, free: 11.88 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,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.0002033/0.3602, allocations: 114.9 kB / 433.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.3609, allocations: 377.5 kB / 434.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3609, allocations: 3.938 kB / 434.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.3613, allocations: 301.6 kB / 434.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008344/0.3621, allocations: 113.4 kB / 434.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3637, allocations: 0.6531 MB / 435.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.3644, allocations: 0.8022 MB / 435.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.3645, allocations: 8.656 kB / 435.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3645, allocations: 15.38 kB / 436 MB, free: 9.352 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3645, allocations: 0 / 436 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Templates: time 0.0127/0.3772, allocations: 4.726 MB / 440.7 MB, free: 4.57 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches