Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 59.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.266, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003194/0.2692, allocations: 1.844 MB / 434.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2715, allocations: 0.9861 MB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2717, allocations: 3.938 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.2718, allocations: 23.78 kB / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2719, allocations: 43.66 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.2723, allocations: 99.81 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.2728, allocations: 299.3 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2729, allocations: 29.8 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/0.2738, allocations: 0.7525 MB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.274, allocations: 155.4 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.2741, allocations: 20 kB / 436.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.843e-05/0.2742, allocations: 20 kB / 436.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2743, allocations: 143.4 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.2746, allocations: 238.2 kB / 437.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.2754, allocations: 0.752 MB / 437.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2754, allocations: 3.938 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.2754, allocations: 3.984 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.2754, allocations: 0 / 437.8 MB, free: 1.355 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.001426/0.2768, allocations: 1.113 MB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.2769, allocations: 8.031 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.277, allocations: 80.47 kB / 439 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.2775, allocations: 335.1 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.2775, allocations: 16.56 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.2776, allocations: 16.38 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.2781, allocations: 258.3 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2781, allocations: 0 / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.2781, allocations: 11.98 kB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2781, allocations: 4 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2784, allocations: 132.2 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2797, allocations: 0.6989 MB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.28, allocations: 158.4 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.2803, allocations: 136.8 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2803, allocations: 0 / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005731/0.2809, allocations: 389.7 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.2809, allocations: 0 / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001486/0.2824, allocations: 0.9323 MB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.2826, allocations: 281 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.284, allocations: 0.9569 MB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.2841, allocations: 29.7 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2842, allocations: 134.1 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.2843, allocations: 67.47 kB / 443.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.2845, allocations: 161.3 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2847, allocations: 338.8 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.285, allocations: 128.2 kB / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2853, allocations: 162.9 kB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.286, allocations: 0.6911 MB / 445 MB, free: 9.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.286, allocations: 7.938 kB / 445 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001158/0.2872, allocations: 0.7449 MB / 445.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.2874, allocations: 249.5 kB / 446 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2874, allocations: 0 / 446 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2874, allocations: 4 kB / 446 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.2874, allocations: 7.984 kB / 446 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2874, allocations: 4 kB / 446 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2877, allocations: 27.94 kB / 446 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.2878, allocations: 104.1 kB / 446.1 MB, free: 8.453 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.0006986/0.2885, allocations: 0.624 MB / 446.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2886, allocations: 79.53 kB / 446.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.2888, allocations: 134.8 kB / 447 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2888, allocations: 4 kB / 447 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2888, allocations: 0 / 447 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2889, allocations: 3.984 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.2909, allocations: 1.385 MB / 448.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2909, allocations: 7.938 kB / 448.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.2909, allocations: 4 kB / 448.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2909, allocations: 4 kB / 448.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.291, allocations: 31.97 kB / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.291, allocations: 0 / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.291, allocations: 0 / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2924, allocations: 0.9691 MB / 449.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/0.2932, allocations: 408.9 kB / 449.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2934, allocations: 24 kB / 449.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2936, allocations: 19.98 kB / 449.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.2938, allocations: 55.94 kB / 449.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.2939, allocations: 107.9 kB / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.295, allocations: 0.6899 MB / 450.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 450.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.2954, allocations: 103.8 kB / 450.8 MB, free: 3.586 MB / 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.0002171/0.2956, allocations: 147.2 kB / 450.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2967, allocations: 0.7646 MB / 451.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2967, allocations: 3.938 kB / 451.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.2973, allocations: 0.6081 MB / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2984, allocations: 270.6 kB / 452.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3009, allocations: 1.353 MB / 453.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/0.3017, allocations: 0.9403 MB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3019, allocations: 59.34 kB / 454.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3019, allocations: 0 / 454.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Templates: time 0.009481/0.3113, allocations: 5.33 MB / 460.2 MB, free: 9.852 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.190376640064642]