Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001174, allocations: 105.5 kB / 18.39 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 52.25 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.0903, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002753/0.09311, allocations: 1.505 MB / 377.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.09515, allocations: 0.8949 MB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.09527, allocations: 0 / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.09539, allocations: 11.86 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.09549, allocations: 19.86 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.09579, allocations: 43.89 kB / 378.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.09603, allocations: 147.7 kB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.09615, allocations: 24.22 kB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.09674, allocations: 0.5537 MB / 379 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.09691, allocations: 71.7 kB / 379.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.09697, allocations: 8 kB / 379.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.09701, allocations: 12 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.09713, allocations: 63.7 kB / 379.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.09726, allocations: 119.1 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.09765, allocations: 366.7 kB / 379.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.09767, allocations: 3.984 kB / 379.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09768, allocations: 4 kB / 379.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.09769, allocations: 0 / 379.6 MB, free: 0.7227 MB / 318.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.186/0.2837, allocations: 0.7154 MB / 380.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2837, allocations: 12.52 kB / 380.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.2839, allocations: 38.22 kB / 380.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2841, allocations: 274.8 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2841, allocations: 5.938 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.2842, allocations: 9.359 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2845, allocations: 128.7 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2845, allocations: 2.656 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2846, allocations: 6.688 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2846, allocations: 1.094 kB / 380.8 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.2847, allocations: 62.73 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.2854, allocations: 464 kB / 381.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.2856, allocations: 100 kB / 381.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2857, allocations: 90.27 kB / 381.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2857, allocations: 1.375 kB / 381.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.2861, allocations: 205 kB / 381.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.2861, allocations: 1.969 kB / 381.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000711/0.2868, allocations: 474.8 kB / 382.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2869, allocations: 170.4 kB / 382.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.2876, allocations: 0.5181 MB / 382.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2876, allocations: 32.52 kB / 382.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2877, allocations: 96.44 kB / 383 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.2877, allocations: 35.67 kB / 383 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2878, allocations: 89.3 kB / 383.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.2879, allocations: 326.8 kB / 383.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.288, allocations: 55.97 kB / 383.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2882, allocations: 73.19 kB / 383.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.2885, allocations: 352.5 kB / 383.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2885, allocations: 0 / 383.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000505/0.289, allocations: 383.1 kB / 384.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.646e-05/0.2891, allocations: 128.6 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2891, allocations: 3.656 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2891, allocations: 1.891 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.326e-05/0.2892, allocations: 4.156 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2892, allocations: 0.7031 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2893, allocations: 10.89 kB / 384.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.2894, allocations: 59.11 kB / 384.5 MB, free: 10.81 MB / 318.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.0002709/0.2897, allocations: 363.3 kB / 384.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2897, allocations: 38.66 kB / 384.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.2898, allocations: 74.56 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2898, allocations: 1.125 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2898, allocations: 0.6562 kB / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2898, allocations: 0 / 385 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.2907, allocations: 0.8219 MB / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2907, allocations: 0 / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/0.2907, allocations: 7.906 kB / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2907, allocations: 0 / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2908, allocations: 14.05 kB / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2908, allocations: 3.906 kB / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2908, allocations: 0.6094 kB / 385.8 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.2914, allocations: 0.5323 MB / 386.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.2916, allocations: 246.7 kB / 386.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.2917, allocations: 11.34 kB / 386.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2918, allocations: 10.67 kB / 386.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2919, allocations: 26.11 kB / 386.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.292, allocations: 61.41 kB / 386.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004249/0.2924, allocations: 390.5 kB / 387.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2924, allocations: 1.875 kB / 387.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000273/0.2927, allocations: 47.78 kB / 387.1 MB, free: 9.117 MB / 318.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.0001228/0.2928, allocations: 115.9 kB / 387.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.2933, allocations: 436.7 kB / 387.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2933, allocations: 4 kB / 387.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.2936, allocations: 379.1 kB / 388 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.2942, allocations: 132.4 kB / 388.2 MB, free: 8.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.2953, allocations: 0.6969 MB / 388.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2956, allocations: 0.8022 MB / 389.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.2956, allocations: 11.78 kB / 389.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2956, allocations: 1.281 kB / 389.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of Templates: time 0.005307/0.3009, allocations: 2.685 MB / 392.4 MB, free: 6.793 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches