Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000797/0.000797, allocations: 92.66 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09916/0.3262, allocations: 82.98 MB / 492.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.3265, allocations: 75.95 kB / 492.4 MB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03269/0.3592, allocations: 16.69 MB / 0.4972 GB, free: 7.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.3592, allocations: 0 / 0.4972 GB, free: 7.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3593, allocations: 8 kB / 0.4972 GB, free: 7.805 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.0006273/0.3599, allocations: 0.6722 MB / 0.4979 GB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3599, allocations: 8.031 kB / 0.4979 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.36, allocations: 36.56 kB / 0.4979 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3603, allocations: 266.5 kB / 0.4982 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3603, allocations: 8.375 kB / 0.4982 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3603, allocations: 12.36 kB / 0.4982 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3606, allocations: 126.2 kB / 0.4983 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3606, allocations: 192 / 0.4983 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3607, allocations: 11.94 kB / 0.4983 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3607, allocations: 3.938 kB / 0.4983 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3608, allocations: 59.97 kB / 0.4984 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.3614, allocations: 448.5 kB / 0.4988 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3616, allocations: 110.5 kB / 0.4989 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.3618, allocations: 80.89 kB / 0.499 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3618, allocations: 0 / 0.499 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.3621, allocations: 202.7 kB / 0.4992 GB, free: 5.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.217e-06/0.3621, allocations: 112 / 0.4992 GB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007382/0.3628, allocations: 494.9 kB / 0.4996 GB, free: 5.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.3629, allocations: 170.2 kB / 0.4998 GB, free: 4.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/0.3635, allocations: 0.513 MB / 0.5003 GB, free: 4.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3636, allocations: 29.7 kB / 0.5003 GB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3636, allocations: 101.1 kB / 0.5004 GB, free: 4.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3637, allocations: 23.66 kB / 0.5005 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.3637, allocations: 4 kB / 0.5005 GB, free: 4.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3638, allocations: 326.8 kB / 0.5008 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3639, allocations: 59.97 kB / 0.5008 GB, free: 3.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.364, allocations: 77.56 kB / 0.5009 GB, free: 3.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3644, allocations: 347.3 kB / 0.5012 GB, free: 3.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3644, allocations: 0 / 0.5012 GB, free: 3.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004964/0.3649, allocations: 388.3 kB / 0.5016 GB, free: 2.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/0.365, allocations: 118.8 kB / 0.5017 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.365, allocations: 11.98 kB / 0.5017 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.365, allocations: 0 / 0.5017 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.819e-05/0.365, allocations: 0 / 0.5017 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.365, allocations: 0 / 0.5017 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3652, allocations: 20.03 kB / 0.5017 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.3652, allocations: 59.92 kB / 0.5018 GB, free: 2.676 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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.0003197/0.3656, allocations: 370.7 kB / 0.5022 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.3656, allocations: 39.53 kB / 0.5022 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3657, allocations: 63.16 kB / 0.5023 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3657, allocations: 3.938 kB / 0.5023 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3658, allocations: 0 / 0.5023 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3658, allocations: 0 / 0.5023 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3668, allocations: 0.8212 MB / 0.5031 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3668, allocations: 0 / 0.5031 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.3668, allocations: 4 kB / 0.5031 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3668, allocations: 0 / 0.5031 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.3669, allocations: 19.98 kB / 0.5031 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3669, allocations: 0 / 0.5031 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3669, allocations: 3.938 kB / 0.5031 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.3676, allocations: 0.54 MB / 0.5036 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.368, allocations: 244.4 kB / 0.5039 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.3681, allocations: 12 kB / 0.5039 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3682, allocations: 11.98 kB / 0.5039 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3684, allocations: 23.97 kB / 0.5039 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.3685, allocations: 64 kB / 0.504 GB, free: 304 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2007/0.5692, allocations: 381.5 kB / 0.5043 GB, free: 96.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5692, allocations: 1 kB / 0.5043 GB, free: 96.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.5697, allocations: 41.91 kB / 0.5044 GB, free: 96.53 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,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 (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.0001528/0.5699, allocations: 118.8 kB / 0.5045 GB, free: 96.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.5705, allocations: 434.8 kB / 0.5049 GB, free: 96.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5705, allocations: 2.312 kB / 0.5049 GB, free: 96.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.5708, allocations: 378.3 kB / 0.5053 GB, free: 95.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.5715, allocations: 105.8 kB / 0.5054 GB, free: 95.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5727, allocations: 0.7328 MB / 0.5061 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.573, allocations: 0.8005 MB / 0.5069 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.5731, allocations: 9.5 kB / 0.5069 GB, free: 94.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.5731, allocations: 10.47 kB / 0.5069 GB, free: 94.81 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5731, allocations: 0 / 0.5069 GB, free: 94.81 MB / 378.7 MB Notification: Performance of Templates: time 0.006883/0.58, allocations: 4.091 MB / 0.5109 GB, free: 94.41 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches