Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002546/0.002551, allocations: 181.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.616/3.616, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001895/0.001895, allocations: 97.23 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006835/0.0006839, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6643, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00293/0.6673, allocations: 1.19 MB / 375.7 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.6714, allocations: 0.8521 MB / 376.6 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.6716, allocations: 1.156 kB / 376.6 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/0.6717, allocations: 7.922 kB / 376.6 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.6719, allocations: 12.11 kB / 376.6 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.6722, allocations: 35.08 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.6725, allocations: 75.16 kB / 376.7 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.6727, allocations: 24.95 kB / 376.7 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6738, allocations: 427.7 kB / 377.1 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.6741, allocations: 69.17 kB / 377.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.6742, allocations: 3.375 kB / 377.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.535e-05/0.6743, allocations: 4.156 kB / 377.2 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.6744, allocations: 60.86 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.6746, allocations: 71.8 kB / 377.3 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.6751, allocations: 296.4 kB / 377.6 MB, free: 43.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6752, allocations: 4 kB / 377.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.6752, allocations: 0 / 377.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.6752, allocations: 1.062 kB / 377.6 MB, free: 43.23 MB / 298.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.001113/0.6764, allocations: 0.6639 MB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.6764, allocations: 8.562 kB / 378.3 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.6766, allocations: 34.25 kB / 378.3 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.6771, allocations: 260.8 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.6772, allocations: 13.41 kB / 378.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.6773, allocations: 11.38 kB / 378.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.678, allocations: 128.8 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.678, allocations: 1.125 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.6781, allocations: 3.25 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6781, allocations: 1.188 kB / 378.7 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.6785, allocations: 65.06 kB / 378.8 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.6799, allocations: 461.8 kB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.6805, allocations: 99.95 kB / 379.4 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.6805, allocations: 1.125 kB / 379.4 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000683/0.6812, allocations: 206.4 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 4.278e-06/0.6812, allocations: 0 / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002059/0.6833, allocations: 0.6295 MB / 380.2 MB, free: 41.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6835, allocations: 164.8 kB / 380.4 MB, free: 40.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.6851, allocations: 0.5135 MB / 380.9 MB, free: 40.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.6853, allocations: 29.2 kB / 380.9 MB, free: 40.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.6855, allocations: 164.9 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/0.6856, allocations: 27.28 kB / 381.1 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.6856, allocations: 6.688 kB / 381.1 MB, free: 40.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.6858, allocations: 323.9 kB / 381.4 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.6861, allocations: 56.5 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.6865, allocations: 72.34 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.6869, allocations: 170.5 kB / 381.7 MB, free: 39.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.687, allocations: 0.8438 kB / 381.7 MB, free: 39.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001327/0.6883, allocations: 378.2 kB / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6885, allocations: 127.7 kB / 382.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6885, allocations: 1.156 kB / 382.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.6886, allocations: 0 / 382.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.509e-05/0.6886, allocations: 1.188 kB / 382.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6886, allocations: 5.047 kB / 382.2 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.6891, allocations: 18.19 kB / 382.2 MB, free: 39.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.6893, allocations: 58.09 kB / 382.3 MB, free: 39.34 MB / 298.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008611/0.6902, allocations: 368.9 kB / 382.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6904, allocations: 39.66 kB / 382.7 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.6907, allocations: 71.42 kB / 382.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.6908, allocations: 1.516 kB / 382.7 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6908, allocations: 3.938 kB / 382.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6908, allocations: 0 / 382.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.6931, allocations: 0.8193 MB / 383.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6931, allocations: 0 / 383.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.6932, allocations: 5.406 kB / 383.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.6932, allocations: 3.938 kB / 383.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.6933, allocations: 14.33 kB / 383.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.6933, allocations: 1.375 kB / 383.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6933, allocations: 3.984 kB / 383.6 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.695, allocations: 0.5286 MB / 384.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/0.6959, allocations: 254.2 kB / 384.4 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.6961, allocations: 10.94 kB / 384.4 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.6965, allocations: 13.48 kB / 384.4 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.6968, allocations: 31.55 kB / 384.4 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.697, allocations: 55.53 kB / 384.5 MB, free: 37.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.6983, allocations: 387.2 kB / 384.9 MB, free: 37.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6984, allocations: 0 / 384.9 MB, free: 37.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008903/0.6993, allocations: 46.31 kB / 384.9 MB, free: 37.39 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.6996, allocations: 117.9 kB / 385 MB, free: 37.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.7008, allocations: 438.4 kB / 385.4 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7009, allocations: 3.938 kB / 385.5 MB, free: 36.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.7016, allocations: 376.7 kB / 385.8 MB, free: 36.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.7029, allocations: 106 kB / 385.9 MB, free: 36.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.7058, allocations: 0.7774 MB / 386.7 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.7065, allocations: 0.8141 MB / 387.5 MB, free: 35.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.7066, allocations: 15.38 kB / 387.5 MB, free: 35.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.754e-06/0.7066, allocations: 0 / 387.5 MB, free: 35.07 MB / 298.7 MB Notification: Performance of Templates: time 0.009269/0.7159, allocations: 2.627 MB / 390.2 MB, free: 32.4 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches