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.0011/0.0011, allocations: 105.4 kB / 18.39 MB, free: 4.641 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.001167/0.001167, allocations: 189.1 kB / 19.33 MB, free: 3.715 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001341/0.001341, allocations: 55.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08241, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002703/0.08517, allocations: 1.509 MB / 377.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.08706, allocations: 0.8949 MB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.08716, allocations: 3.938 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.0873, allocations: 11.92 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.08739, allocations: 15.86 kB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.08766, allocations: 43.89 kB / 378.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.08789, allocations: 147.7 kB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.08801, allocations: 20.22 kB / 378.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006046/0.08862, allocations: 0.5732 MB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.08879, allocations: 75.64 kB / 379.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.08885, allocations: 8 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.0889, allocations: 12 kB / 379.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.08899, allocations: 59.77 kB / 379.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.08913, allocations: 115.1 kB / 379.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.08951, allocations: 374.7 kB / 379.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.08952, allocations: 0 / 379.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08953, allocations: 0 / 379.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.08954, allocations: 0 / 379.7 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.161/0.2506, allocations: 0.7192 MB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.2507, allocations: 9.75 kB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.2508, allocations: 39.19 kB / 380.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.251, allocations: 274.7 kB / 380.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.251, allocations: 5.875 kB / 380.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2511, allocations: 10.84 kB / 380.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.2514, allocations: 130.7 kB / 380.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2514, allocations: 0 / 380.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.2515, allocations: 8.062 kB / 380.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2515, allocations: 1.078 kB / 380.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.2516, allocations: 61.17 kB / 380.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.2522, allocations: 463.3 kB / 381.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2524, allocations: 98.11 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.2525, allocations: 89.61 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.2525, allocations: 1.469 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.2528, allocations: 208.5 kB / 381.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2528, allocations: 0 / 381.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006751/0.2535, allocations: 477.2 kB / 382.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2536, allocations: 168.6 kB / 382.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.2542, allocations: 0.5146 MB / 382.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2543, allocations: 29.2 kB / 382.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.2543, allocations: 98.45 kB / 383 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2543, allocations: 31.08 kB / 383 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2545, allocations: 83.84 kB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.2545, allocations: 333.2 kB / 383.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2547, allocations: 58.12 kB / 383.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2549, allocations: 72.2 kB / 383.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.2552, allocations: 345.6 kB / 383.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2552, allocations: 0 / 383.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004574/0.2556, allocations: 392.8 kB / 384.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.2557, allocations: 123.7 kB / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2557, allocations: 7.531 kB / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2557, allocations: 3.969 kB / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-05/0.2558, allocations: 1.891 kB / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2558, allocations: 0 / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2559, allocations: 11.28 kB / 384.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.256, allocations: 62.91 kB / 384.5 MB, free: 10.71 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.000259/0.2562, allocations: 367.6 kB / 384.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.2563, allocations: 43.53 kB / 384.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.2564, allocations: 68.47 kB / 385 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2564, allocations: 0 / 385 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2564, allocations: 1.5 kB / 385 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2564, allocations: 0 / 385 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007873/0.2572, allocations: 0.8163 MB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2572, allocations: 3.391 kB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.2572, allocations: 3.828 kB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2572, allocations: 1.094 kB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.2573, allocations: 13.3 kB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2573, allocations: 0.7031 kB / 385.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2573, allocations: 6.906 kB / 385.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.2578, allocations: 0.5378 MB / 386.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.258, allocations: 247.9 kB / 386.6 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.2581, allocations: 12.52 kB / 386.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2582, allocations: 7.938 kB / 386.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.2583, allocations: 28.91 kB / 386.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.2584, allocations: 67.41 kB / 386.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.2588, allocations: 390.8 kB / 387.1 MB, free: 9.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2588, allocations: 0 / 387.1 MB, free: 9.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.2591, allocations: 45.5 kB / 387.1 MB, free: 9.012 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.0001094/0.2592, allocations: 118.4 kB / 387.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.2596, allocations: 441 kB / 387.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2596, allocations: 3.938 kB / 387.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.2599, allocations: 375.3 kB / 388.1 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.2605, allocations: 119.4 kB / 388.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.2614, allocations: 0.6939 MB / 388.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2617, allocations: 0.8064 MB / 389.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2617, allocations: 11.41 kB / 389.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2617, allocations: 5.469 kB / 389.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Templates: time 0.004689/0.2664, allocations: 2.684 MB / 392.4 MB, free: 6.703 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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