Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.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.001782/0.001782, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002024/0.002024, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder") translateModel(Modelica.Electrical.Digital.Examples.HalfAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Adder.AND.G2.x|Adder.AND.G2.y|Adder.XOR.G2.x|Adder.XOR.G2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 52.06 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2598, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.004742/0.2645, allocations: 2.018 MB / 434.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.268, allocations: 0.994 MB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2681, allocations: 7.938 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2684, allocations: 39.64 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.2685, allocations: 55.52 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.2691, allocations: 131.8 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.2698, allocations: 403.1 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.27, allocations: 67.53 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.2715, allocations: 0.9709 MB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.2719, allocations: 199.2 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.2721, allocations: 39.94 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2722, allocations: 40 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.2724, allocations: 155.4 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.2728, allocations: 206.5 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2742, allocations: 0.99 MB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2742, allocations: 3.938 kB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2742, allocations: 0 / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2742, allocations: 0 / 438.6 MB, free: 436 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001914/0.2762, allocations: 1.07 MB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2762, allocations: 8.031 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.2764, allocations: 84.42 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.2771, allocations: 370.9 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.2772, allocations: 20.38 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.2773, allocations: 16.38 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.2784, allocations: 436.3 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2784, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.2784, allocations: 11.98 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2785, allocations: 4 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.2793, allocations: 342.7 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.2812, allocations: 0.7378 MB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.282, allocations: 313.2 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.2826, allocations: 247.6 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.2826, allocations: 0 / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.2836, allocations: 0.5238 MB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.2836, allocations: 0 / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002407/0.286, allocations: 0.9948 MB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2861, allocations: 178.2 kB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.2882, allocations: 0.9961 MB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.2883, allocations: 37.7 kB / 445 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2885, allocations: 161.9 kB / 445.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.2886, allocations: 63.52 kB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/0.289, allocations: 165.3 kB / 445.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2892, allocations: 334.8 kB / 445.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.2897, allocations: 254.7 kB / 445.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.2903, allocations: 295.8 kB / 446.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2914, allocations: 489.8 kB / 446.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2914, allocations: 3.938 kB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001799/0.2932, allocations: 0.741 MB / 447.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.2933, allocations: 138.8 kB / 447.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2933, allocations: 0 / 447.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2934, allocations: 4 kB / 447.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.2935, allocations: 8 kB / 447.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.2935, allocations: 7.984 kB / 447.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2938, allocations: 23.98 kB / 447.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.2941, allocations: 115.9 kB / 447.7 MB, free: 6.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.Adder.XOR.G2.y,$PRE.Adder.AND.G2.y,Adder.XOR.G1.auxiliary_n,Adder.AND.G1.auxiliary_n,b.y,a.y,Adder.XOR.G2.t_next,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.delayTime,Adder.XOR.G2.y,Adder.XOR.G2.x,$PRE.Adder.XOR.G2.x,$PRE.Adder.XOR.G1.auxiliary_n,$whenCondition2,$whenCondition1,Adder.AND.G2.t_next,Adder.AND.G2.lh,Adder.AND.G2.y_old,Adder.AND.G2.y_auxiliary,Adder.AND.G2.delayTime,Adder.AND.G2.y,Adder.AND.G2.x,$PRE.Adder.AND.G2.x,$PRE.Adder.AND.G1.auxiliary_n,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 12 * 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.000978/0.295, allocations: 0.5379 MB / 448.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.2952, allocations: 79.53 kB / 448.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.2955, allocations: 126.5 kB / 448.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2955, allocations: 0 / 448.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2955, allocations: 3.938 kB / 448.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.297, allocations: 0.4969 MB / 449 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.2972, allocations: 24 kB / 449 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.2975, allocations: 15.98 kB / 449 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.2977, allocations: 55.89 kB / 449.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002083/0.2998, allocations: 1.062 MB / 450.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002049/0.3018, allocations: 0.9801 MB / 451.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006624/0.3025, allocations: 286.7 kB / 451.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.3041, allocations: 0.729 MB / 452.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Backend: time 4.61e-07/0.3041, allocations: 0 / 452.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.3058, allocations: 0.6276 MB / 452.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 0.003845/0.3096, allocations: 2.025 MB / 454.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01747/0.3271, allocations: 8.749 MB / 463.5 MB, free: 6.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/HalfAdder/HalfAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.HalfAdder.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: 4.428087639003934]