Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.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.001506/0.001506, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001382/0.001382, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2355, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.HalfAdder): time 0.003372/0.2389, allocations: 2.146 MB / 434.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2411, allocations: 1.056 MB / 435.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.2411, allocations: 3.938 kB / 435.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.2413, allocations: 35.66 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2414, allocations: 59.5 kB / 435.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.2418, allocations: 127.8 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.2423, allocations: 391.1 kB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2424, allocations: 79.06 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.2434, allocations: 0.9669 MB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.2437, allocations: 199.2 kB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.2438, allocations: 36 kB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.2439, allocations: 36 kB / 437.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.244, allocations: 159.4 kB / 437.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.2443, allocations: 290.1 kB / 437.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.2453, allocations: 0.9786 MB / 438.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2453, allocations: 4 kB / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2453, allocations: 0 / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2453, allocations: 0 / 438.6 MB, free: 0.832 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001348/0.2466, allocations: 1.146 MB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2467, allocations: 12.03 kB / 439.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2468, allocations: 84.42 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.2474, allocations: 428.8 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.2474, allocations: 20.25 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.2474, allocations: 20.38 kB / 440.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.2481, allocations: 309.5 kB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2481, allocations: 0 / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.2481, allocations: 12 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.2481, allocations: 8 kB / 440.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2486, allocations: 203.9 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.25, allocations: 0.8902 MB / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.2505, allocations: 174.5 kB / 441.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.2507, allocations: 116.8 kB / 442 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2508, allocations: 8.031 kB / 442 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006026/0.2514, allocations: 390 kB / 442.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.2514, allocations: 0 / 442.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001406/0.2528, allocations: 0.745 MB / 443.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2529, allocations: 174.2 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.2542, allocations: 1 MB / 444.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.2543, allocations: 37.7 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2544, allocations: 161.9 kB / 444.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.2545, allocations: 55.59 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.2547, allocations: 165.3 kB / 444.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2549, allocations: 338.8 kB / 445 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.2552, allocations: 127.9 kB / 445.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.2555, allocations: 163.3 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.2561, allocations: 477.7 kB / 445.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2561, allocations: 96 / 445.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001031/0.2571, allocations: 0.5821 MB / 446.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2572, allocations: 134.8 kB / 446.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2572, allocations: 0 / 446.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2573, allocations: 8.062 kB / 446.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.2573, allocations: 15.98 kB / 446.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2573, allocations: 7.938 kB / 446.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2576, allocations: 19.94 kB / 446.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2577, allocations: 123.8 kB / 446.7 MB, free: 8.293 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.0006106/0.2583, allocations: 0.5375 MB / 447.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2584, allocations: 79.53 kB / 447.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.2586, allocations: 130.4 kB / 447.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2586, allocations: 4 kB / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2586, allocations: 0 / 447.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/0.2594, allocations: 0.4961 MB / 447.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2595, allocations: 24.12 kB / 447.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2597, allocations: 23.92 kB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2598, allocations: 47.95 kB / 448 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.261, allocations: 0.9306 MB / 448.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00119/0.2622, allocations: 0.8446 MB / 449.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000312/0.2625, allocations: 143.9 kB / 449.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009798/0.2635, allocations: 0.7251 MB / 450.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2635, allocations: 0 / 450.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009566/0.2645, allocations: 0.4999 MB / 451.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.002616/0.2671, allocations: 2.034 MB / 453.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Templates: time 0.01353/0.2806, allocations: 8.072 MB / 461.2 MB, free: 9.395 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.HalfAdder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/HalfAdder/HalfAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.249132248107344]