Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.0008336/0.0008336, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003161/0.003161, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8275/0.8275, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.973e-05, allocations: 2.281 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001688/0.001708, allocations: 1.49 MB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003107, allocations: 0.8458 MB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.003163, allocations: 8 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.00326, allocations: 7.875 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.003335, allocations: 19.86 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.00359, allocations: 47.88 kB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.003774, allocations: 131.7 kB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.003866, allocations: 20.16 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.004294, allocations: 0.5889 MB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.004401, allocations: 67.75 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.004431, allocations: 8 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.00445, allocations: 16 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.004517, allocations: 71.7 kB / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.004581, allocations: 55.73 kB / 329.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.004848, allocations: 374.8 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.00485, allocations: 4 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004852, allocations: 3.938 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004856, allocations: 0 / 329.6 MB, free: 11.54 MB / 298.7 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.0005437/0.0054, allocations: 0.6542 MB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.005433, allocations: 12.03 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.005484, allocations: 36.7 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.005673, allocations: 216.1 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.00569, allocations: 8.375 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005708, allocations: 8.375 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.005964, allocations: 249 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005972, allocations: 192 / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.005988, allocations: 4.375 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.005995, allocations: 7.938 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.006119, allocations: 182.7 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.006539, allocations: 380.3 kB / 331.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.006697, allocations: 197.3 kB / 331.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.00681, allocations: 179.7 kB / 331.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.006821, allocations: 11.88 kB / 331.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.007073, allocations: 321.5 kB / 332 MB, free: 8.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.61e-07/0.007074, allocations: 0 / 332 MB, free: 8.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005688/0.007643, allocations: 0.7117 MB / 332.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.007709, allocations: 170.2 kB / 332.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.008088, allocations: 0.513 MB / 333.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.008109, allocations: 29.81 kB / 333.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.008155, allocations: 101.1 kB / 333.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.008181, allocations: 27.8 kB / 333.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.00825, allocations: 85.56 kB / 333.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.008323, allocations: 322.8 kB / 333.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.008433, allocations: 178.8 kB / 334.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.008549, allocations: 192.5 kB / 334.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.008755, allocations: 363.2 kB / 334.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.008758, allocations: 4 kB / 334.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003437/0.009102, allocations: 0.5068 MB / 335.2 MB, free: 5.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.009157, allocations: 122.8 kB / 335.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.009162, allocations: 0 / 335.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.009173, allocations: 0 / 335.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.00919, allocations: 8.031 kB / 335.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009195, allocations: 3.984 kB / 335.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.009278, allocations: 16.06 kB / 335.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.009327, allocations: 59.94 kB / 335.4 MB, free: 5.125 MB / 298.7 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.0002111/0.009538, allocations: 366.5 kB / 335.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.00957, allocations: 43.7 kB / 335.8 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.009638, allocations: 63.09 kB / 335.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009639, allocations: 0 / 335.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.009644, allocations: 0 / 335.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009647, allocations: 7.984 kB / 335.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.01024, allocations: 0.8705 MB / 336.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01024, allocations: 0 / 336.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.01024, allocations: 0 / 336.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01025, allocations: 4 kB / 336.7 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01026, allocations: 8 kB / 336.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01026, allocations: 0 / 336.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01027, allocations: 4 kB / 336.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.01071, allocations: 0.6718 MB / 337.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.01093, allocations: 213.3 kB / 337.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.01096, allocations: 11.98 kB / 337.6 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.01104, allocations: 16 kB / 337.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.01112, allocations: 23.97 kB / 337.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.01116, allocations: 56 kB / 337.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.01143, allocations: 390.8 kB / 338.1 MB, free: 2.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01143, allocations: 0 / 338.1 MB, free: 2.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01162, allocations: 40 kB / 338.1 MB, free: 2.176 MB / 298.7 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.0001638/0.01178, allocations: 115.1 kB / 338.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.01215, allocations: 0.6124 MB / 338.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01216, allocations: 64 / 338.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.01235, allocations: 428.4 kB / 339.3 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.0127, allocations: 118.7 kB / 339.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.01359, allocations: 0.8249 MB / 340.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.01374, allocations: 185.7 kB / 340.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.01376, allocations: 16.5 kB / 340.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01376, allocations: 0 / 340.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of Templates: time 0.002911/0.01667, allocations: 2.677 MB / 343.1 MB, free: 12.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.494815026409924]