Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001651/0.001651, allocations: 188.2 kB / 18.66 MB, free: 4.375 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.722/1.722, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001563/0.001563, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003782/0.1613, allocations: 1.505 MB / 376.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1638, allocations: 0.8942 MB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.1639, allocations: 0 / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1641, allocations: 15.88 kB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1642, allocations: 15.84 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1646, allocations: 47.89 kB / 377.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.1649, allocations: 151.7 kB / 377.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1651, allocations: 16.22 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.1658, allocations: 0.5694 MB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1659, allocations: 79.62 kB / 378.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.166, allocations: 12 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.166, allocations: 8 kB / 378.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1662, allocations: 63.77 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1663, allocations: 115.1 kB / 378.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1667, allocations: 366.7 kB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.1667, allocations: 4 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1667, allocations: 0 / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1667, allocations: 4 kB / 379 MB, free: 0.707 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.3719/0.5386, allocations: 0.7134 MB / 379.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.5387, allocations: 9.125 kB / 379.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.5388, allocations: 42.97 kB / 379.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.5391, allocations: 269.7 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.5392, allocations: 6.719 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.5392, allocations: 7.75 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.5396, allocations: 130.9 kB / 380.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5397, allocations: 0 / 380.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.5397, allocations: 15.19 kB / 380.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5397, allocations: 1.375 kB / 380.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.5399, allocations: 56.95 kB / 380.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.5407, allocations: 463.3 kB / 380.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.5409, allocations: 100.8 kB / 380.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.541, allocations: 83.38 kB / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.541, allocations: 0 / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.5415, allocations: 211.4 kB / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.5415, allocations: 0 / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000882/0.5424, allocations: 477 kB / 381.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.5425, allocations: 170.3 kB / 381.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.5434, allocations: 0.5171 MB / 382.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.5434, allocations: 28.67 kB / 382.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.5435, allocations: 98.88 kB / 382.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.5435, allocations: 31.25 kB / 382.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.5437, allocations: 86.3 kB / 382.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.5438, allocations: 327.6 kB / 382.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.544, allocations: 59.81 kB / 382.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.5442, allocations: 77.39 kB / 382.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.5446, allocations: 342.7 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5446, allocations: 1.203 kB / 383.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006008/0.5452, allocations: 383.8 kB / 383.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.5453, allocations: 130.9 kB / 383.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5453, allocations: 4.094 kB / 383.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.5454, allocations: 0.7969 kB / 383.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.039e-05/0.5454, allocations: 2.938 kB / 383.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5454, allocations: 2.234 kB / 383.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.5456, allocations: 9.422 kB / 383.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.5457, allocations: 59.55 kB / 383.8 MB, free: 10.66 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.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.0003649/0.5461, allocations: 364.2 kB / 384.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.5461, allocations: 46.75 kB / 384.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.5463, allocations: 65.28 kB / 384.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5463, allocations: 1.406 kB / 384.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5463, allocations: 0.5156 kB / 384.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5463, allocations: 2.141 kB / 384.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.5476, allocations: 0.8241 MB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5476, allocations: 1.125 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-06/0.5476, allocations: 1.031 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5476, allocations: 4.172 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5477, allocations: 14.02 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5477, allocations: 3.781 kB / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5477, allocations: 0 / 385.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.5484, allocations: 0.5383 MB / 385.7 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.5487, allocations: 246.3 kB / 385.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.5487, allocations: 11.16 kB / 385.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5489, allocations: 9.328 kB / 385.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.549, allocations: 27.28 kB / 386 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/0.5491, allocations: 65.42 kB / 386 MB, free: 9.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005316/0.5497, allocations: 387.6 kB / 386.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5497, allocations: 0 / 386.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.55, allocations: 45.38 kB / 386.5 MB, free: 8.965 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,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.0001583/0.5501, allocations: 118.6 kB / 386.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.5507, allocations: 441.9 kB / 387 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5507, allocations: 3.938 kB / 387 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.5511, allocations: 374.6 kB / 387.4 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.5518, allocations: 125.8 kB / 387.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5532, allocations: 0.6552 MB / 388.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.5537, allocations: 0.8018 MB / 389 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.5538, allocations: 13.45 kB / 389 MB, free: 7.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.5539, allocations: 11.41 kB / 389 MB, free: 7.023 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5539, allocations: 0 / 389 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Templates: time 0.01402/0.5679, allocations: 4.665 MB / 393.6 MB, free: 6.469 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches