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.001587/0.001587, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001722/0.001722, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.833/1.833, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001472/0.001472, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.004666/0.1544, allocations: 1.505 MB / 376.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1571, allocations: 0.9019 MB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1573, allocations: 4 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1576, allocations: 11.92 kB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1578, allocations: 7.875 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.1582, allocations: 51.88 kB / 377.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1586, allocations: 143.7 kB / 377.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1587, allocations: 24.22 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000861/0.1596, allocations: 0.5693 MB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1598, allocations: 75.62 kB / 378.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1599, allocations: 12 kB / 378.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.1599, allocations: 8 kB / 378.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.16, allocations: 63.77 kB / 378.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1603, allocations: 115.1 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.161, allocations: 370.7 kB / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.161, allocations: 0 / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.161, allocations: 0 / 379 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.1611, allocations: 0 / 379 MB, free: 0.7148 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.3785/0.5396, allocations: 0.7208 MB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.518e-05/0.5397, allocations: 9.625 kB / 379.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.5398, allocations: 39.53 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.5403, allocations: 273.4 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.5404, allocations: 7.75 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.5404, allocations: 8.5 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.5409, allocations: 131.4 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.541, allocations: 0 / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.541, allocations: 8.281 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.541, allocations: 3.688 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.5412, allocations: 57.3 kB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5423, allocations: 462.4 kB / 380.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.5426, allocations: 96.39 kB / 380.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5428, allocations: 88.39 kB / 380.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.5429, allocations: 4.422 kB / 380.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007182/0.5436, allocations: 204.5 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.5436, allocations: 1.969 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001018/0.5447, allocations: 481.5 kB / 381.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5448, allocations: 166.9 kB / 381.7 MB, free: 12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.5459, allocations: 0.5172 MB / 382.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.546, allocations: 28.86 kB / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.5461, allocations: 101.6 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.5462, allocations: 33.36 kB / 382.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.5464, allocations: 88.11 kB / 382.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5465, allocations: 325.4 kB / 382.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.5468, allocations: 61.22 kB / 382.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.547, allocations: 73.36 kB / 382.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.5474, allocations: 341.7 kB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5474, allocations: 1.25 kB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006779/0.5481, allocations: 387.4 kB / 383.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5482, allocations: 128.1 kB / 383.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.5483, allocations: 3.781 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.5483, allocations: 1 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.5483, allocations: 1.984 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5483, allocations: 0.9062 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5485, allocations: 11.81 kB / 383.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.5487, allocations: 58.28 kB / 383.8 MB, free: 10.64 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.0004121/0.5491, allocations: 374.7 kB / 384.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.5491, allocations: 39.38 kB / 384.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.5493, allocations: 68.75 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5493, allocations: 0.9062 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5493, allocations: 4.672 kB / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5493, allocations: 0 / 384.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5506, allocations: 0.8192 MB / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5506, allocations: 5.203 kB / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-06/0.5507, allocations: 0 / 385.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5507, allocations: 5.125 kB / 385.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.5507, allocations: 15.05 kB / 385.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.5507, allocations: 3.781 kB / 385.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5507, allocations: 1.438 kB / 385.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.5515, allocations: 0.5314 MB / 385.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5518, allocations: 251.3 kB / 385.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.5519, allocations: 10.69 kB / 385.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.552, allocations: 10.23 kB / 385.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.5522, allocations: 26.47 kB / 386 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5523, allocations: 62.59 kB / 386 MB, free: 9.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006592/0.553, allocations: 390.2 kB / 386.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.553, allocations: 1.125 kB / 386.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.5534, allocations: 45.19 kB / 386.5 MB, free: 8.941 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.0002309/0.5536, allocations: 119.4 kB / 386.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.5542, allocations: 441.6 kB / 387 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5543, allocations: 1 kB / 387 MB, free: 8.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.5546, allocations: 375 kB / 387.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.5553, allocations: 127 kB / 387.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.5567, allocations: 0.6521 MB / 388.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.5571, allocations: 0.8024 MB / 389 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.5572, allocations: 13.59 kB / 389 MB, free: 7.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.5573, allocations: 11.78 kB / 389 MB, free: 7 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5573, allocations: 0 / 389 MB, free: 7 MB / 318.1 MB Notification: Performance of Templates: time 0.01573/0.573, allocations: 4.662 MB / 393.6 MB, free: 6.453 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