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.001403/0.001403, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008869/0.0008867, allocations: 104.2 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.758e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09406, allocations: 51.49 MB / 395.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4032, allocations: 82.32 MB / 477.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4034, allocations: 77.83 kB / 477.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0281/0.4315, allocations: 16.69 MB / 494.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4315, allocations: 0 / 494.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4316, allocations: 8 kB / 494.3 MB, free: 13.34 MB / 362.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.0004921/0.4321, allocations: 0.6254 MB / 494.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4321, allocations: 12.03 kB / 494.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.4322, allocations: 31.62 kB / 494.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.4325, allocations: 254.8 kB / 495.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4325, allocations: 8 kB / 495.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.4325, allocations: 4 kB / 495.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.4326, allocations: 53.11 kB / 495.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.4328, allocations: 126.4 kB / 495.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.4329, allocations: 0 / 495.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.4329, allocations: 7.375 kB / 495.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4329, allocations: 0 / 495.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.4334, allocations: 437 kB / 495.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.4336, allocations: 89.06 kB / 495.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.4337, allocations: 80.03 kB / 496 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4337, allocations: 0 / 496 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.4339, allocations: 198.1 kB / 496.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.4339, allocations: 0 / 496.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004508/0.4344, allocations: 267.7 kB / 496.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.4345, allocations: 165.7 kB / 496.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.4349, allocations: 447.6 kB / 497 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.435, allocations: 32.77 kB / 497.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.435, allocations: 98.64 kB / 497.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4351, allocations: 30.98 kB / 497.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.4351, allocations: 4 kB / 497.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.4352, allocations: 329.3 kB / 497.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.4353, allocations: 48.67 kB / 497.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.4353, allocations: 54.61 kB / 497.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.4354, allocations: 45.25 kB / 497.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4354, allocations: 4 kB / 497.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003465/0.4358, allocations: 243.7 kB / 497.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.4359, allocations: 129.5 kB / 498 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4359, allocations: 0 / 498 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4359, allocations: 0 / 498 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.798e-05/0.4359, allocations: 4.094 kB / 498 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.4359, allocations: 4.594 kB / 498 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.436, allocations: 12.06 kB / 498 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.4361, allocations: 59.94 kB / 498.1 MB, free: 9.707 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,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 () * 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.0001573/0.4363, allocations: 248.8 kB / 498.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4363, allocations: 39.53 kB / 498.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.505e-05/0.4364, allocations: 70.41 kB / 498.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4364, allocations: 0 / 498.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4365, allocations: 1.688 kB / 498.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4365, allocations: 3.984 kB / 498.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.4372, allocations: 0.6424 MB / 499.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4372, allocations: 0 / 499.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.4372, allocations: 7.984 kB / 499.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4372, allocations: 0 / 499.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.4372, allocations: 12 kB / 499.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4372, allocations: 0 / 499.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4372, allocations: 0 / 499.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.4377, allocations: 389 kB / 499.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.4379, allocations: 245.6 kB / 499.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.438, allocations: 11.12 kB / 499.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4382, allocations: 18.42 kB / 499.8 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4383, allocations: 30.89 kB / 499.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.4383, allocations: 59.92 kB / 499.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003686/0.4387, allocations: 375.2 kB / 0.4885 GB, free: 7.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4387, allocations: 0 / 0.4885 GB, free: 7.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.439, allocations: 40 kB / 0.4885 GB, free: 7.715 MB / 362.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) * 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.0001248/0.4391, allocations: 119.7 kB / 0.4886 GB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.4395, allocations: 419.9 kB / 0.489 GB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4395, allocations: 4 kB / 0.489 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.4397, allocations: 366.8 kB / 0.4894 GB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.4402, allocations: 98.58 kB / 0.4895 GB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.441, allocations: 0.5194 MB / 0.49 GB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4414, allocations: 0.8127 MB / 0.4908 GB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.4415, allocations: 12.66 kB / 0.4908 GB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.4415, allocations: 11.44 kB / 0.4908 GB, free: 5.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4415, allocations: 0 / 0.4908 GB, free: 5.48 MB / 362.7 MB Notification: Performance of Templates: time 0.006034/0.4476, allocations: 3.899 MB / 0.4946 GB, free: 1.543 MB / 362.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/jenkins/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