Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009999/0.001, allocations: 196.6 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008175/0.0008173, allocations: 100 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000237/0.0002371, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2177, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001325/0.2191, allocations: 1.209 MB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2208, allocations: 1.313 MB / 414.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.2208, allocations: 4 kB / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.2209, allocations: 13.08 kB / 414.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.221, allocations: 19.91 kB / 414.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.2213, allocations: 45.16 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2214, allocations: 103.8 kB / 414.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2215, allocations: 22.09 kB / 414.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.2219, allocations: 0.538 MB / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.222, allocations: 67.7 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.2221, allocations: 4 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.2221, allocations: 0.625 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.2222, allocations: 67.7 kB / 415.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2223, allocations: 133.8 kB / 415.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.2226, allocations: 358.6 kB / 415.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2226, allocations: 4 kB / 415.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2226, allocations: 0 / 415.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.2226, allocations: 0 / 415.9 MB, free: 21.89 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.0004828/0.2231, allocations: 0.6583 MB / 416.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2231, allocations: 8.031 kB / 416.6 MB, free: 21.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2232, allocations: 36.56 kB / 416.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.2234, allocations: 278.3 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2234, allocations: 4.375 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.2235, allocations: 8.375 kB / 416.9 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.2237, allocations: 133.9 kB / 417.1 MB, free: 20.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2238, allocations: 0 / 417.1 MB, free: 20.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.2238, allocations: 8 kB / 417.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2238, allocations: 0 / 417.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2239, allocations: 59.95 kB / 417.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.2244, allocations: 456.5 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2246, allocations: 102.5 kB / 417.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2247, allocations: 88.88 kB / 417.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.2248, allocations: 0 / 417.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.225, allocations: 206.6 kB / 418 MB, free: 19.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2251, allocations: 0 / 418 MB, free: 19.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006632/0.2257, allocations: 476.3 kB / 418.4 MB, free: 19.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.2258, allocations: 174.2 kB / 418.6 MB, free: 18.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.2263, allocations: 0.513 MB / 419.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2263, allocations: 29.7 kB / 419.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.2264, allocations: 101 kB / 419.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2264, allocations: 23.7 kB / 419.3 MB, free: 18.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.2264, allocations: 8 kB / 419.3 MB, free: 18.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.2265, allocations: 326.8 kB / 419.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2266, allocations: 55.97 kB / 419.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2267, allocations: 73.69 kB / 419.7 MB, free: 17.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.227, allocations: 359.3 kB / 420.1 MB, free: 17.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.227, allocations: 0 / 420.1 MB, free: 17.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004193/0.2274, allocations: 384.3 kB / 420.4 MB, free: 17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/0.2275, allocations: 118.8 kB / 420.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2275, allocations: 0 / 420.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2275, allocations: 4 kB / 420.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.2275, allocations: 3.984 kB / 420.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2275, allocations: 7.969 kB / 420.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.2277, allocations: 15.94 kB / 420.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.2278, allocations: 63.92 kB / 420.6 MB, free: 16.77 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.228, allocations: 366.8 kB / 421 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.2281, allocations: 43.53 kB / 421 MB, free: 16.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.2282, allocations: 59.16 kB / 421.1 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2282, allocations: 0 / 421.1 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2282, allocations: 0 / 421.1 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2282, allocations: 7.984 kB / 421.1 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.2289, allocations: 0.8249 MB / 421.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2289, allocations: 4 kB / 421.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.2289, allocations: 0 / 421.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2289, allocations: 0 / 421.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.229, allocations: 16.09 kB / 422 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.229, allocations: 3.938 kB / 422 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.229, allocations: 3.938 kB / 422 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.2295, allocations: 0.5408 MB / 422.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.2297, allocations: 236.5 kB / 422.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.2298, allocations: 12 kB / 422.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2299, allocations: 11.98 kB / 422.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.23, allocations: 27.92 kB / 422.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.2301, allocations: 55.98 kB / 422.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.2304, allocations: 382.9 kB / 423.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2304, allocations: 0 / 423.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.2307, allocations: 48 kB / 423.3 MB, free: 13.96 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,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.0001091/0.2308, allocations: 126.9 kB / 423.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.2312, allocations: 433.7 kB / 423.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2312, allocations: 0 / 423.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.2314, allocations: 381.5 kB / 424.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.232, allocations: 110.7 kB / 424.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.2328, allocations: 0.7544 MB / 425 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.233, allocations: 0.8025 MB / 425.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2331, allocations: 8.656 kB / 425.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.2331, allocations: 11.44 kB / 425.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2331, allocations: 3.938 kB / 425.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.005312/0.2384, allocations: 4.135 MB / 430 MB, free: 7.008 MB / 298.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