Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.001373/0.001373, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001376/0.001376, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.421/1.421, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.312e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002458/0.002481, allocations: 1.459 MB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.004141, allocations: 0.8093 MB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.004193, allocations: 5.438 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.004284, allocations: 9 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.004365, allocations: 18.48 kB / 321.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.004632, allocations: 56.69 kB / 321.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.004845, allocations: 129.9 kB / 321.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.004943, allocations: 19.25 kB / 321.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.005673, allocations: 0.5908 MB / 322 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.005817, allocations: 65.72 kB / 322.1 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.005869, allocations: 9.562 kB / 322.1 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.005908, allocations: 14.22 kB / 322.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.006005, allocations: 67.47 kB / 322.2 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.925e-05/0.006105, allocations: 63.2 kB / 322.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.006544, allocations: 372 kB / 322.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006547, allocations: 0 / 322.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006548, allocations: 0 / 322.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.006555, allocations: 3.938 kB / 322.6 MB, free: 1.645 MB / 286.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.0006595/0.007214, allocations: 0.6572 MB / 323.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.007248, allocations: 11.33 kB / 323.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.007313, allocations: 39.27 kB / 323.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.007536, allocations: 208.6 kB / 323.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.00756, allocations: 13.66 kB / 323.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.007592, allocations: 8.406 kB / 323.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.007924, allocations: 244.2 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.007935, allocations: 192 / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.007958, allocations: 3.891 kB / 323.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007963, allocations: 5.5 kB / 323.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.008143, allocations: 181 kB / 324 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.00869, allocations: 397 kB / 324.3 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.008896, allocations: 196.3 kB / 324.5 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.009129, allocations: 185.2 kB / 324.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.009143, allocations: 3.938 kB / 324.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.009639, allocations: 324.5 kB / 325 MB, free: 15.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.009641, allocations: 0 / 325 MB, free: 15.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.01071, allocations: 0.7067 MB / 325.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.01084, allocations: 167.7 kB / 325.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.01162, allocations: 0.5125 MB / 326.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.01167, allocations: 34.36 kB / 326.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.01175, allocations: 95.92 kB / 326.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.0118, allocations: 28.28 kB / 326.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.01193, allocations: 83.8 kB / 326.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.0121, allocations: 326 kB / 327 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.01232, allocations: 181.3 kB / 327.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.01257, allocations: 192.2 kB / 327.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.01301, allocations: 362.3 kB / 327.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01301, allocations: 0 / 327.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007498/0.01376, allocations: 0.5113 MB / 328.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.01386, allocations: 123.5 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01387, allocations: 0 / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.01389, allocations: 5.734 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.601e-05/0.01392, allocations: 1.312 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.01392, allocations: 1.656 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.01407, allocations: 10.89 kB / 328.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.01414, allocations: 57.83 kB / 328.4 MB, free: 12.95 MB / 302.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.0004171/0.01456, allocations: 364.8 kB / 328.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.01462, allocations: 44.58 kB / 328.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.01475, allocations: 64.03 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01476, allocations: 5.141 kB / 328.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01476, allocations: 5.062 kB / 328.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01477, allocations: 4.516 kB / 328.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.016, allocations: 0.8675 MB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.016, allocations: 0.8906 kB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.01601, allocations: 4 kB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01601, allocations: 1.125 kB / 329.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.01605, allocations: 18.05 kB / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01605, allocations: 0 / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01605, allocations: 1.859 kB / 329.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.0169, allocations: 0.6638 MB / 330.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.01732, allocations: 206.8 kB / 330.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.01739, allocations: 12.41 kB / 330.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.01753, allocations: 13.55 kB / 330.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.01766, allocations: 26.16 kB / 330.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.01774, allocations: 67.03 kB / 330.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005778/0.01832, allocations: 387.7 kB / 331.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01832, allocations: 0 / 331.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000321/0.01864, allocations: 41.47 kB / 331.2 MB, free: 11.07 MB / 302.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.0002082/0.01885, allocations: 112.5 kB / 331.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.01963, allocations: 0.6119 MB / 331.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01964, allocations: 4.062 kB / 331.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.02008, allocations: 427 kB / 332.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.02076, allocations: 125.7 kB / 332.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.02212, allocations: 0.7748 MB / 333.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.02242, allocations: 192 kB / 333.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.02247, allocations: 10.06 kB / 333.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.0225, allocations: 12.22 kB / 333.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0225, allocations: 4 kB / 333.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Templates: time 0.009721/0.03222, allocations: 4.996 MB / 338.4 MB, free: 6.996 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.395935542881489]