Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002021/0.002021, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.001814/0.001814, allocations: 157.3 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.797e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003918/0.003946, allocations: 1.477 MB / 326.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.007507, allocations: 0.8468 MB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.007574, allocations: 1.656 kB / 327.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.007706, allocations: 11.16 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.007838, allocations: 14.36 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.008257, allocations: 53.45 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.00865, allocations: 125.1 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.008799, allocations: 28.38 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.009933, allocations: 0.5901 MB / 328.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.01015, allocations: 62.55 kB / 328.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.01023, allocations: 13.06 kB / 328.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.01029, allocations: 10.28 kB / 328.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.01043, allocations: 69.09 kB / 328.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.0106, allocations: 57.34 kB / 328.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.01142, allocations: 378.8 kB / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.01143, allocations: 4.453 kB / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01143, allocations: 1.781 kB / 328.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.01145, allocations: 0 / 328.7 MB, free: 14.54 MB / 302.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.00184/0.01329, allocations: 0.6445 MB / 329.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.01334, allocations: 14.2 kB / 329.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.0135, allocations: 39.28 kB / 329.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01403, allocations: 225.3 kB / 329.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.01407, allocations: 9.094 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.01413, allocations: 8.531 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.01482, allocations: 243.8 kB / 329.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.01484, allocations: 4.172 kB / 329.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.01488, allocations: 7.812 kB / 329.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.01489, allocations: 4.969 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.01531, allocations: 178.5 kB / 330.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01668, allocations: 397.2 kB / 330.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.01715, allocations: 192.9 kB / 330.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.01754, allocations: 181.9 kB / 330.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.01756, allocations: 4.969 kB / 330.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007467/0.01831, allocations: 336.1 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.716e-06/0.01831, allocations: 0 / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001891/0.0202, allocations: 0.7094 MB / 331.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.02036, allocations: 168.6 kB / 332.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.02189, allocations: 0.5084 MB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.02195, allocations: 32.73 kB / 332.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.02207, allocations: 97.53 kB / 332.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.02215, allocations: 34.19 kB / 332.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.02238, allocations: 81.42 kB / 332.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.0226, allocations: 322.4 kB / 333.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.02298, allocations: 177.6 kB / 333.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.02336, allocations: 193.2 kB / 333.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.02407, allocations: 357.6 kB / 333.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02407, allocations: 0 / 333.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001224/0.0253, allocations: 0.5096 MB / 334.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.02546, allocations: 125.7 kB / 334.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.02547, allocations: 1.594 kB / 334.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.0255, allocations: 4.031 kB / 334.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.023e-05/0.02553, allocations: 1.156 kB / 334.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.02554, allocations: 1.188 kB / 334.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.02581, allocations: 12.16 kB / 334.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.02593, allocations: 64.3 kB / 334.6 MB, free: 9.512 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.0006833/0.02661, allocations: 368.8 kB / 334.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.02673, allocations: 44.02 kB / 335 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.02699, allocations: 63.56 kB / 335 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.027, allocations: 1.25 kB / 335 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.027, allocations: 4 kB / 335 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02701, allocations: 0 / 335 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.02893, allocations: 0.8621 MB / 335.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.02893, allocations: 192 / 335.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.02894, allocations: 5.469 kB / 335.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.02895, allocations: 0 / 335.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.029, allocations: 19.23 kB / 335.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.02901, allocations: 4.781 kB / 335.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02902, allocations: 3.938 kB / 335.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.03048, allocations: 0.6696 MB / 336.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/0.03125, allocations: 201.6 kB / 336.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.03137, allocations: 15.25 kB / 336.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.03163, allocations: 8.969 kB / 336.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.03181, allocations: 27.47 kB / 336.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.03193, allocations: 56.77 kB / 336.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009619/0.03289, allocations: 386 kB / 337.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.03289, allocations: 0 / 337.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.03346, allocations: 45.16 kB / 337.3 MB, free: 7.449 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.0002266/0.03369, allocations: 114 kB / 337.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.03488, allocations: 0.6127 MB / 338 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.03489, allocations: 0 / 338 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.03557, allocations: 427.2 kB / 338.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.03668, allocations: 120.8 kB / 338.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.0389, allocations: 0.7834 MB / 339.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.03941, allocations: 191.9 kB / 339.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.03949, allocations: 12.7 kB / 339.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.03953, allocations: 16.56 kB / 339.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.03953, allocations: 0 / 339.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of Templates: time 0.01656/0.05609, allocations: 4.979 MB / 344.6 MB, free: 464 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.55233733728528]