Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 55.94 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003362/0.1543, allocations: 1.505 MB / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1569, allocations: 0.8903 MB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.157, allocations: 8 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1572, allocations: 11.86 kB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1573, allocations: 19.86 kB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1576, allocations: 47.89 kB / 377.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1579, allocations: 139.7 kB / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.158, allocations: 28.22 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.1587, allocations: 0.5654 MB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1589, allocations: 75.64 kB / 378.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1589, allocations: 8 kB / 378.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.16e-05/0.1589, allocations: 12 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.842e-05/0.159, allocations: 59.77 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1592, allocations: 119.1 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.1596, allocations: 366.8 kB / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1596, allocations: 0 / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1596, allocations: 0 / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1596, allocations: 0 / 379 MB, free: 0.7188 MB / 318.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.2473/0.4069, allocations: 0.7289 MB / 379.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.407, allocations: 10.53 kB / 379.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.4071, allocations: 35.12 kB / 379.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4074, allocations: 268.8 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4074, allocations: 9.062 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4074, allocations: 9.781 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.4078, allocations: 130.7 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4079, allocations: 0.8906 kB / 380.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.4079, allocations: 8.969 kB / 380.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4079, allocations: 1.375 kB / 380.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.4081, allocations: 62.47 kB / 380.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.4088, allocations: 463.5 kB / 380.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.409, allocations: 99.8 kB / 380.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.4092, allocations: 86.41 kB / 380.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.4092, allocations: 5.5 kB / 380.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.4096, allocations: 205.9 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.4096, allocations: 0 / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001206/0.4108, allocations: 479.9 kB / 381.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.4109, allocations: 168.6 kB / 381.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.4117, allocations: 0.511 MB / 382.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.4117, allocations: 29.33 kB / 382.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.4118, allocations: 102.9 kB / 382.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.4118, allocations: 28.53 kB / 382.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.412, allocations: 85.5 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.412, allocations: 333 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.4122, allocations: 56.91 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.4124, allocations: 77.17 kB / 382.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.4127, allocations: 345.1 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4128, allocations: 1.203 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005116/0.4133, allocations: 383.9 kB / 383.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.4134, allocations: 128.4 kB / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4134, allocations: 0 / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4134, allocations: 3.812 kB / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.4134, allocations: 4.781 kB / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4134, allocations: 0 / 383.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4136, allocations: 15.64 kB / 383.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.4136, allocations: 57.62 kB / 383.8 MB, free: 10.72 MB / 318.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.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.0002997/0.414, allocations: 377.4 kB / 384.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.414, allocations: 39.84 kB / 384.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.4141, allocations: 65.06 kB / 384.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4141, allocations: 1.469 kB / 384.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4141, allocations: 0.8438 kB / 384.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4141, allocations: 0 / 384.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.415, allocations: 0.8149 MB / 385.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4151, allocations: 3.938 kB / 385.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.4151, allocations: 2.578 kB / 385.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4151, allocations: 6.953 kB / 385.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.4151, allocations: 17.66 kB / 385.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4151, allocations: 0 / 385.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4151, allocations: 1.031 kB / 385.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.4157, allocations: 0.5408 MB / 385.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.416, allocations: 246.6 kB / 385.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.4161, allocations: 11.03 kB / 385.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4163, allocations: 14.58 kB / 386 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.4164, allocations: 20.78 kB / 386 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.4165, allocations: 71.64 kB / 386 MB, free: 9.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.4171, allocations: 386.9 kB / 386.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4171, allocations: 0 / 386.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.4174, allocations: 44.34 kB / 386.5 MB, free: 9.016 MB / 318.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,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.0001605/0.4176, allocations: 117.8 kB / 386.6 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.4183, allocations: 443.6 kB / 387 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4183, allocations: 4.062 kB / 387 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.4189, allocations: 374 kB / 387.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.4196, allocations: 113.8 kB / 387.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4211, allocations: 0.657 MB / 388.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4215, allocations: 0.8024 MB / 389 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.4215, allocations: 17.56 kB / 389 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.4216, allocations: 15.66 kB / 389 MB, free: 7.074 MB / 318.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4216, allocations: 0 / 389 MB, free: 7.074 MB / 318.1 MB Notification: Performance of Templates: time 0.01036/0.432, allocations: 4.667 MB / 393.7 MB, free: 6.527 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches