Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 211.5 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 55.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.249, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003058/0.252, allocations: 1.743 MB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2542, allocations: 0.9277 MB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.2543, allocations: 0 / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.2545, allocations: 23.78 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2546, allocations: 43.64 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.255, allocations: 103.8 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.2554, allocations: 291.4 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2555, allocations: 36.73 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008193/0.2563, allocations: 0.7485 MB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.2565, allocations: 147.4 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.2566, allocations: 20 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.2567, allocations: 20 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2569, allocations: 139.4 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.257, allocations: 170.6 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.2578, allocations: 0.7583 MB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2578, allocations: 3.938 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2578, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2578, allocations: 8 kB / 437.5 MB, free: 1.527 MB / 334.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.001361/0.2592, allocations: 1.117 MB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2592, allocations: 8.031 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2594, allocations: 76.47 kB / 438.7 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.2599, allocations: 335.2 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.2599, allocations: 16.56 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.26, allocations: 20.38 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.2607, allocations: 480.7 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2607, allocations: 0 / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.2608, allocations: 12 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2608, allocations: 4 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.2612, allocations: 377.7 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2625, allocations: 0.6292 MB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.263, allocations: 384.1 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.2634, allocations: 366.4 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2634, allocations: 11.92 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000785/0.2642, allocations: 0.6222 MB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.2642, allocations: 0 / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001879/0.2661, allocations: 1.408 MB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.2663, allocations: 285 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.2676, allocations: 0.9452 MB / 444.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.2677, allocations: 33.7 kB / 444.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2678, allocations: 134 kB / 444.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.2679, allocations: 67.53 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.2681, allocations: 161.3 kB / 444.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2683, allocations: 334.8 kB / 445.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.2687, allocations: 361.8 kB / 445.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.2692, allocations: 409.4 kB / 446 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.2699, allocations: 0.7185 MB / 446.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.27, allocations: 3.938 kB / 446.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001292/0.2712, allocations: 0.9964 MB / 447.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.2714, allocations: 245.6 kB / 448 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2715, allocations: 8 kB / 448 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2715, allocations: 0 / 448 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.2715, allocations: 8 kB / 448 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2715, allocations: 8.078 kB / 448 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.2718, allocations: 31.88 kB / 448 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2719, allocations: 104.2 kB / 448.1 MB, free: 5.824 MB / 350.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.0007188/0.2726, allocations: 0.6123 MB / 448.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.2728, allocations: 83.47 kB / 448.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.273, allocations: 126.9 kB / 448.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.273, allocations: 4 kB / 448.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.273, allocations: 0 / 448.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.273, allocations: 3.984 kB / 448.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.275, allocations: 1.571 MB / 450.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2751, allocations: 0 / 450.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.2751, allocations: 4 kB / 450.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2751, allocations: 0 / 450.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.2751, allocations: 27.98 kB / 450.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2751, allocations: 4 kB / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2751, allocations: 0 / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.2766, allocations: 1.224 MB / 451.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008631/0.2775, allocations: 404.9 kB / 452.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.2776, allocations: 27.94 kB / 452.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2779, allocations: 27.98 kB / 452.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.278, allocations: 51.94 kB / 452.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.2782, allocations: 111.9 kB / 452.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.2792, allocations: 0.6938 MB / 453.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2792, allocations: 0 / 453.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.2796, allocations: 91.94 kB / 453.2 MB, free: 468 kB / 350.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.0001867/0.2798, allocations: 143.2 kB / 453.3 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.2812, allocations: 1.244 MB / 454.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2812, allocations: 4.062 kB / 454.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007869/0.282, allocations: 0.8405 MB / 455.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2831, allocations: 274.5 kB / 455.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.2856, allocations: 1.596 MB / 457.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.2861, allocations: 345 kB / 457.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2862, allocations: 55.34 kB / 457.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2862, allocations: 0 / 457.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Templates: time 0.008476/0.2947, allocations: 5.367 MB / 463 MB, free: 6.152 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.041229255963117]