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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008131/0.0008131, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009285/0.0009286, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001741/0.0001741, allocations: 8 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0738/0.07398, allocations: 51.52 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001261/0.07528, allocations: 1.237 MB / 360.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.07669, allocations: 0.8851 MB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.07673, allocations: 0 / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.302e-05/0.07681, allocations: 11.92 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.07687, allocations: 19.84 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.07706, allocations: 39.97 kB / 361.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.07718, allocations: 107.7 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.07726, allocations: 24.2 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.07773, allocations: 0.5576 MB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.07783, allocations: 59.77 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.07786, allocations: 4 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.07789, allocations: 4 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.07797, allocations: 67.69 kB / 362.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.07808, allocations: 132.9 kB / 362.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.07834, allocations: 354.6 kB / 362.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.07835, allocations: 0 / 362.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.07836, allocations: 0 / 362.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.07836, allocations: 4 kB / 362.7 MB, free: 9.789 MB / 302.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.0005033/0.07887, allocations: 0.6531 MB / 363.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.07891, allocations: 12.03 kB / 363.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.07897, allocations: 40.47 kB / 363.4 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.07919, allocations: 278.3 kB / 363.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.07922, allocations: 8.375 kB / 363.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.07925, allocations: 8.375 kB / 363.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.07949, allocations: 129.9 kB / 363.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.07951, allocations: 0 / 363.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.07953, allocations: 4 kB / 363.9 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.07954, allocations: 4 kB / 363.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.07967, allocations: 59.91 kB / 363.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.08018, allocations: 460.6 kB / 364.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.08035, allocations: 94.55 kB / 364.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.08049, allocations: 81 kB / 364.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.0805, allocations: 11.88 kB / 364.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.08077, allocations: 218.6 kB / 364.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.08078, allocations: 0 / 364.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000653/0.08144, allocations: 479.2 kB / 365.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.08151, allocations: 166.2 kB / 365.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.08205, allocations: 0.5168 MB / 365.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.08208, allocations: 29.7 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.08214, allocations: 101 kB / 366 MB, free: 6.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.08218, allocations: 35.62 kB / 366.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.08223, allocations: 21.72 kB / 366.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.08232, allocations: 330.8 kB / 366.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.08244, allocations: 55.97 kB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.08256, allocations: 77.67 kB / 366.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.08284, allocations: 343.2 kB / 366.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.08285, allocations: 0 / 366.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000451/0.08331, allocations: 380.3 kB / 367.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.08339, allocations: 130.8 kB / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.0834, allocations: 0 / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.08341, allocations: 3.938 kB / 367.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-05/0.08343, allocations: 4 kB / 367.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.08344, allocations: 0 / 367.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.08357, allocations: 20.02 kB / 367.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.08363, allocations: 63.94 kB / 367.5 MB, free: 4.629 MB / 302.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0002743/0.08391, allocations: 362.7 kB / 367.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.08396, allocations: 39.62 kB / 367.9 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.08405, allocations: 67.14 kB / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.08406, allocations: 0 / 367.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.08407, allocations: 4 kB / 367.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.08407, allocations: 7.922 kB / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/0.08487, allocations: 0.8172 MB / 368.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.08488, allocations: 0 / 368.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.08489, allocations: 0 / 368.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.08489, allocations: 4 kB / 368.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.08492, allocations: 12 kB / 368.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.08493, allocations: 4 kB / 368.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.08493, allocations: 7.938 kB / 368.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.08548, allocations: 0.5404 MB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.08574, allocations: 240.5 kB / 369.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.08579, allocations: 12 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.08592, allocations: 11.98 kB / 369.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.727e-05/0.08601, allocations: 35.84 kB / 369.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.08606, allocations: 59.94 kB / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.08645, allocations: 390.9 kB / 370.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08646, allocations: 0 / 370.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.08671, allocations: 47.84 kB / 370.1 MB, free: 1.812 MB / 302.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,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 (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.0001055/0.08682, allocations: 115.1 kB / 370.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.08725, allocations: 437.5 kB / 370.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08726, allocations: 0 / 370.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.08753, allocations: 381.6 kB / 371 MB, free: 0.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.08806, allocations: 113 kB / 371.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/0.1939, allocations: 0.75 MB / 371.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1941, allocations: 0.7983 MB / 372.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.1942, allocations: 10.52 kB / 372.7 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.1942, allocations: 10.84 kB / 372.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1942, allocations: 0 / 372.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of Templates: time 0.006109/0.2004, allocations: 4.133 MB / 376.8 MB, free: 18.58 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches