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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006439/0.006439, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 259 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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=5014,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=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "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.001927/0.001927, allocations: 63.89 kB / 379.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2516, allocations: 53.38 MB / 433.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002723/0.2543, allocations: 1.522 MB / 434.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2562, allocations: 0.9004 MB / 435.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.2563, allocations: 0 / 435.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.2564, allocations: 11.92 kB / 435.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.2564, allocations: 27.78 kB / 435.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2567, allocations: 47.89 kB / 435.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2569, allocations: 127.8 kB / 435.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.257, allocations: 12.22 kB / 435.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006599/0.2577, allocations: 0.5848 MB / 436.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2578, allocations: 71.75 kB / 436.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2579, allocations: 16 kB / 436.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.2579, allocations: 8 kB / 436.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.258, allocations: 71.64 kB / 436.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2581, allocations: 111.2 kB / 436.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.2585, allocations: 375.7 kB / 437 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2585, allocations: 0 / 437 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2585, allocations: 0 / 437 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2585, allocations: 4 kB / 437 MB, free: 3.129 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.0008173/0.2594, allocations: 0.6552 MB / 437.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2594, allocations: 12.03 kB / 437.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.2595, allocations: 44.7 kB / 437.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2598, allocations: 220.8 kB / 438 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2598, allocations: 4.375 kB / 438 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2598, allocations: 8.375 kB / 438 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.2602, allocations: 129.8 kB / 438.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2602, allocations: 0 / 438.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2602, allocations: 8 kB / 438.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2602, allocations: 3.984 kB / 438.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2604, allocations: 59.97 kB / 438.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.261, allocations: 427.6 kB / 438.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2612, allocations: 78.48 kB / 438.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2614, allocations: 60.89 kB / 438.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2614, allocations: 0 / 438.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.2618, allocations: 214.8 kB / 438.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2618, allocations: 0 / 438.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008713/0.2626, allocations: 472.1 kB / 439.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.2628, allocations: 166.2 kB / 439.6 MB, free: 380 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.2635, allocations: 0.517 MB / 440.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.2635, allocations: 29.7 kB / 440.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.2636, allocations: 101.1 kB / 440.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.2636, allocations: 31.77 kB / 440.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2638, allocations: 89.56 kB / 440.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2639, allocations: 322.8 kB / 440.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.264, allocations: 59.91 kB / 440.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2642, allocations: 73.69 kB / 440.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.2645, allocations: 342.3 kB / 441.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2646, allocations: 0 / 441.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005618/0.2651, allocations: 388.3 kB / 441.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2652, allocations: 130.8 kB / 441.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2652, allocations: 3.984 kB / 441.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2652, allocations: 0 / 441.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.2653, allocations: 4.109 kB / 441.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2653, allocations: 3.938 kB / 441.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2654, allocations: 11.98 kB / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.2655, allocations: 55.94 kB / 441.7 MB, free: 14.09 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.0003832/0.2658, allocations: 366.3 kB / 442 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.2659, allocations: 39.77 kB / 442.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.266, allocations: 71.2 kB / 442.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.266, allocations: 0 / 442.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.266, allocations: 4 kB / 442.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.266, allocations: 3.938 kB / 442.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2671, allocations: 0.7891 MB / 443 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2671, allocations: 0 / 443 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-06/0.2671, allocations: 0 / 443 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2671, allocations: 0 / 443 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.2671, allocations: 19.97 kB / 443 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2671, allocations: 4 kB / 443 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2671, allocations: 3.938 kB / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.2679, allocations: 0.5332 MB / 443.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.2682, allocations: 213.4 kB / 443.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.2683, allocations: 4 kB / 443.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.2684, allocations: 12 kB / 443.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2685, allocations: 27.91 kB / 443.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.2686, allocations: 60 kB / 443.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004861/0.2691, allocations: 390.9 kB / 444.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 444.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2694, allocations: 43.94 kB / 444.2 MB, free: 11.39 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.0001382/0.2695, allocations: 111 kB / 444.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.27, allocations: 377.5 kB / 444.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.27, allocations: 0 / 444.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.2703, allocations: 301.6 kB / 445 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.2709, allocations: 122.9 kB / 445.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.272, allocations: 0.7003 MB / 445.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.2725, allocations: 0.806 MB / 446.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.2725, allocations: 11.44 kB / 446.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2725, allocations: 0 / 446.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Templates: time 0.004458/0.2769, allocations: 2.664 MB / 449.3 MB, free: 6.109 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.057910568080842]