Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.002147/0.002147, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002093/0.002093, allocations: 156.8 kB / 24.27 MB, free: 160 kB / 18.57 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.665/1.665, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.719e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003237/0.003274, allocations: 1.497 MB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.005717, allocations: 0.8575 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.00578, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.005908, allocations: 7.875 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.006004, allocations: 19.8 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.006366, allocations: 51.88 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.006608, allocations: 135.7 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.006712, allocations: 12.22 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.007551, allocations: 0.5966 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.007722, allocations: 75.73 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.007788, allocations: 12 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.898e-05/0.007837, allocations: 8 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.007946, allocations: 63.72 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.008079, allocations: 51.8 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.008587, allocations: 374.8 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.008594, allocations: 0 / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008595, allocations: 0 / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.008602, allocations: 3.938 kB / 275.9 MB, free: 14.01 MB / 266.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.001081/0.009683, allocations: 0.8055 MB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.009727, allocations: 19.98 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.009827, allocations: 48.64 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.01017, allocations: 219 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.0102, allocations: 4.375 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.01022, allocations: 8.375 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.01092, allocations: 249 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.01093, allocations: 192 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.01096, allocations: 8.375 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01097, allocations: 7.938 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.01122, allocations: 182.7 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01224, allocations: 0.5423 MB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.01256, allocations: 209.8 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.01283, allocations: 194.5 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.01285, allocations: 7.938 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.01331, allocations: 350.9 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.01331, allocations: 0 / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001177/0.01449, allocations: 0.7283 MB / 279.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.01462, allocations: 170.2 kB / 279.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.0157, allocations: 0.6936 MB / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.01574, allocations: 37.7 kB / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01585, allocations: 144 kB / 280.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.01592, allocations: 43.72 kB / 280.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.01606, allocations: 87.22 kB / 280.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.01634, allocations: 0.5001 MB / 281.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.01656, allocations: 182.8 kB / 281.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.01681, allocations: 210.1 kB / 281.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.01727, allocations: 361 kB / 281.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01728, allocations: 0 / 281.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007452/0.01802, allocations: 0.5303 MB / 282.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.01814, allocations: 122.8 kB / 282.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01815, allocations: 0 / 282.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01817, allocations: 4 kB / 282.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.053e-05/0.01819, allocations: 0 / 282.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01819, allocations: 0 / 282.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01831, allocations: 8 kB / 282.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.0184, allocations: 63.92 kB / 282.6 MB, free: 6.676 MB / 266.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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0004323/0.01883, allocations: 389.2 kB / 283 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.01892, allocations: 55.7 kB / 283.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.01903, allocations: 59.09 kB / 283.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01904, allocations: 4 kB / 283.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01904, allocations: 0 / 283.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01905, allocations: 0 / 283.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.0208, allocations: 1.037 MB / 284.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0208, allocations: 0 / 284.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.02081, allocations: 7.984 kB / 284.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02081, allocations: 0 / 284.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.02085, allocations: 19.98 kB / 284.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.02085, allocations: 8.109 kB / 284.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.02086, allocations: 4 kB / 284.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.02182, allocations: 0.7471 MB / 284.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.02223, allocations: 181.4 kB / 285.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.02228, allocations: 11.94 kB / 285.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.02241, allocations: 8 kB / 285.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.02255, allocations: 39.95 kB / 285.2 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.02263, allocations: 59.92 kB / 285.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.02327, allocations: 454.7 kB / 285.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02327, allocations: 0 / 285.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.02356, allocations: 40 kB / 285.7 MB, free: 3.391 MB / 266.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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0002018/0.02376, allocations: 114.2 kB / 285.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.02457, allocations: 0.655 MB / 286.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02457, allocations: 4 kB / 286.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.02505, allocations: 456 kB / 286.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.02575, allocations: 139.2 kB / 287.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.02714, allocations: 0.7681 MB / 287.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.02742, allocations: 181.8 kB / 288 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.02747, allocations: 12.7 kB / 288 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.0275, allocations: 12.5 kB / 288 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0275, allocations: 4 kB / 288 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of Templates: time 0.01085/0.03836, allocations: 4.997 MB / 293 MB, free: 11.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.726757291005924]