Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.00112/0.00112, allocations: 179.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001083, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2707, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002818/0.2735, allocations: 1.823 MB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2754, allocations: 0.9393 MB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.2755, allocations: 0 / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2757, allocations: 27.78 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.2758, allocations: 39.59 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.2762, allocations: 95.81 kB / 404.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.2765, allocations: 319.4 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2767, allocations: 53.59 kB / 404.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.2775, allocations: 0.7446 MB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.2777, allocations: 143.5 kB / 405.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.2777, allocations: 20 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.2778, allocations: 24 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.278, allocations: 139.4 kB / 405.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2782, allocations: 234.3 kB / 406 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.2788, allocations: 0.7563 MB / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2788, allocations: 0 / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2788, allocations: 0 / 406.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2788, allocations: 0 / 406.7 MB, free: 3.531 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001191/0.28, allocations: 1.165 MB / 407.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2801, allocations: 8.031 kB / 407.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2802, allocations: 80 kB / 408 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.2806, allocations: 392.2 kB / 408.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.2806, allocations: 20.5 kB / 408.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.2807, allocations: 28.36 kB / 408.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.2812, allocations: 246.2 kB / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2812, allocations: 0 / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.2812, allocations: 12 kB / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2812, allocations: 0 / 408.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.2815, allocations: 145.5 kB / 408.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.2825, allocations: 0.7309 MB / 409.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.2828, allocations: 202.4 kB / 409.7 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.2831, allocations: 176.9 kB / 409.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2832, allocations: 4 kB / 409.9 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.2837, allocations: 389.9 kB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2837, allocations: 0 / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001363/0.2851, allocations: 0.9278 MB / 411.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/0.2853, allocations: 281 kB / 411.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.2866, allocations: 0.9491 MB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.2866, allocations: 37.7 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.2867, allocations: 130 kB / 412.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.2868, allocations: 71.19 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.287, allocations: 157.1 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.2871, allocations: 338.8 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.2874, allocations: 120.2 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.2876, allocations: 168.7 kB / 413.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.2882, allocations: 0.7068 MB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2883, allocations: 3.938 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001038/0.2893, allocations: 0.7409 MB / 414.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.2895, allocations: 249.6 kB / 415.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2895, allocations: 0 / 415.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2895, allocations: 0 / 415.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.665e-05/0.2895, allocations: 19.86 kB / 415.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2896, allocations: 4.094 kB / 415.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2898, allocations: 31.89 kB / 415.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2899, allocations: 108.1 kB / 415.3 MB, free: 10.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0005609/0.2905, allocations: 0.6006 MB / 415.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.2906, allocations: 79.14 kB / 416 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.2908, allocations: 126.9 kB / 416.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2908, allocations: 4 kB / 416.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2908, allocations: 8 kB / 416.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2908, allocations: 3.984 kB / 416.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.2925, allocations: 1.429 MB / 417.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2925, allocations: 0 / 417.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.2925, allocations: 7.984 kB / 417.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2925, allocations: 3.938 kB / 417.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.2926, allocations: 31.98 kB / 417.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2926, allocations: 0 / 417.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2926, allocations: 0 / 417.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2937, allocations: 0.9765 MB / 418.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.2943, allocations: 411.8 kB / 419 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2944, allocations: 24 kB / 419 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2946, allocations: 19.97 kB / 419 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.2948, allocations: 51.95 kB / 419.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.2949, allocations: 111.9 kB / 419.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008401/0.2957, allocations: 0.686 MB / 419.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2957, allocations: 3.938 kB / 419.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.2961, allocations: 107.8 kB / 420 MB, free: 5.414 MB / 334.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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.00017/0.2963, allocations: 143.1 kB / 420.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.2972, allocations: 0.884 MB / 421 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2973, allocations: 4 kB / 421 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.2979, allocations: 0.7452 MB / 421.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2989, allocations: 285.9 kB / 422 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3009, allocations: 1.334 MB / 423.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.3014, allocations: 0.944 MB / 424.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3015, allocations: 59.34 kB / 424.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3015, allocations: 3.938 kB / 424.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of Templates: time 0.006892/0.3084, allocations: 5.379 MB / 429.7 MB, free: 11.39 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches