Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 199.2 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007985/0.0007985, allocations: 96.62 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09069/0.2812, allocations: 82.99 MB / 491.6 MB, free: 8.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.2815, allocations: 72.77 kB / 491.7 MB, free: 8.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03029/0.3118, allocations: 16.7 MB / 0.4965 GB, free: 7.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3118, allocations: 0 / 0.4965 GB, free: 7.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3119, allocations: 4 kB / 0.4965 GB, free: 7.91 MB / 378.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.0005775/0.3124, allocations: 0.6761 MB / 0.4972 GB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3125, allocations: 8.031 kB / 0.4972 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.3126, allocations: 36.56 kB / 0.4972 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3128, allocations: 266.5 kB / 0.4975 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3128, allocations: 4.375 kB / 0.4975 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.3129, allocations: 8.375 kB / 0.4975 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3131, allocations: 134.1 kB / 0.4976 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3131, allocations: 192 / 0.4976 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.3132, allocations: 11.94 kB / 0.4976 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3132, allocations: 0 / 0.4976 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3133, allocations: 55.97 kB / 0.4977 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3139, allocations: 468.4 kB / 0.4981 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3141, allocations: 94.55 kB / 0.4982 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.3142, allocations: 84.89 kB / 0.4983 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.3142, allocations: 0 / 0.4983 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.3145, allocations: 206.7 kB / 0.4985 GB, free: 5.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.867e-06/0.3145, allocations: 4.094 kB / 0.4985 GB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006965/0.3152, allocations: 487.9 kB / 0.499 GB, free: 5.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.3153, allocations: 162.2 kB / 0.4991 GB, free: 4.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.3159, allocations: 0.5129 MB / 0.4996 GB, free: 4.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3159, allocations: 33.7 kB / 0.4996 GB, free: 4.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.316, allocations: 93.14 kB / 0.4997 GB, free: 4.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.316, allocations: 39.56 kB / 0.4998 GB, free: 4.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.316, allocations: 4 kB / 0.4998 GB, free: 4.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.3161, allocations: 330.8 kB / 0.5001 GB, free: 3.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3163, allocations: 59.97 kB / 0.5001 GB, free: 3.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3164, allocations: 69.69 kB / 0.5002 GB, free: 3.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.3167, allocations: 342.3 kB / 0.5005 GB, free: 3.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3167, allocations: 0 / 0.5005 GB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004747/0.3172, allocations: 388.2 kB / 0.5009 GB, free: 3.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.3173, allocations: 126.8 kB / 0.501 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3173, allocations: 0 / 0.501 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3173, allocations: 0 / 0.501 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.3173, allocations: 8.031 kB / 0.501 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3173, allocations: 0 / 0.501 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3174, allocations: 20.11 kB / 0.5011 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.3175, allocations: 55.94 kB / 0.5011 GB, free: 2.781 MB / 378.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.0002925/0.3178, allocations: 370.6 kB / 0.5015 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3179, allocations: 39.53 kB / 0.5015 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.318, allocations: 67.14 kB / 0.5016 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.318, allocations: 4 kB / 0.5016 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.318, allocations: 4 kB / 0.5016 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.318, allocations: 3.938 kB / 0.5016 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/0.3188, allocations: 0.8134 MB / 0.5024 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3188, allocations: 0 / 0.5024 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.3188, allocations: 4 kB / 0.5024 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3189, allocations: 4 kB / 0.5024 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3189, allocations: 8 kB / 0.5024 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3189, allocations: 3.938 kB / 0.5024 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3189, allocations: 3.938 kB / 0.5024 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.3195, allocations: 0.5369 MB / 0.5029 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.3197, allocations: 248.4 kB / 0.5032 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3198, allocations: 11.98 kB / 0.5032 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3199, allocations: 12 kB / 0.5032 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.32, allocations: 27.97 kB / 0.5032 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.3201, allocations: 63.86 kB / 0.5033 GB, free: 404 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004233/0.3205, allocations: 390.9 kB / 0.5036 GB, free: 20 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3206, allocations: 0 / 0.5036 GB, free: 20 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1645/0.4851, allocations: 38.98 kB / 0.5037 GB, free: 96.69 MB / 378.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.0002005/0.4853, allocations: 113.8 kB / 0.5038 GB, free: 96.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.486, allocations: 438.2 kB / 0.5042 GB, free: 96.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.486, allocations: 0 / 0.5042 GB, free: 96.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.4863, allocations: 374.8 kB / 0.5046 GB, free: 96.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.4869, allocations: 105.2 kB / 0.5047 GB, free: 96.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4881, allocations: 0.7768 MB / 0.5054 GB, free: 95.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4884, allocations: 0.7993 MB / 0.5062 GB, free: 94.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.4885, allocations: 10.97 kB / 0.5062 GB, free: 94.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4885, allocations: 0 / 0.5062 GB, free: 94.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004533/0.493, allocations: 2.675 MB / 0.5088 GB, free: 94.72 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches