Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.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.001827/0.001827, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002181/0.002181, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.758 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.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2159, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.003158/0.219, allocations: 1.813 MB / 434.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2203, allocations: 0.666 MB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.2204, allocations: 7.938 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.2205, allocations: 31.66 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.2207, allocations: 35.66 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.221, allocations: 99.77 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2213, allocations: 171.5 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2214, allocations: 62.58 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.2216, allocations: 79.72 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.2217, allocations: 95.47 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.2218, allocations: 12 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.2219, allocations: 27.98 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.2219, allocations: 43.84 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.222, allocations: 71.59 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.2223, allocations: 206 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2223, allocations: 8 kB / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2223, allocations: 0 / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2223, allocations: 0 / 435.7 MB, free: 3.285 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009224/0.2232, allocations: 449.2 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2233, allocations: 8.031 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.2234, allocations: 32.78 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2237, allocations: 191.8 kB / 436.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2238, allocations: 12.38 kB / 436.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.2238, allocations: 16.36 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.2242, allocations: 218.6 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2242, allocations: 4 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2243, allocations: 4 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.2243, allocations: 8 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.2246, allocations: 139.8 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2257, allocations: 0.6801 MB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.2264, allocations: 182.6 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2265, allocations: 56.77 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.2266, allocations: 11.98 kB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.2269, allocations: 152.9 kB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.2269, allocations: 0 / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006165/0.2275, allocations: 237.4 kB / 438.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2275, allocations: 85.11 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.2277, allocations: 215.7 kB / 438.4 MB, free: 456 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2278, allocations: 33.7 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2279, allocations: 148.2 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.2279, allocations: 35.73 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.228, allocations: 61.69 kB / 438.7 MB, free: 160 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2282, allocations: 330.8 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2283, allocations: 63.95 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2286, allocations: 140.5 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.2289, allocations: 216.6 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2289, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005123/0.2295, allocations: 253.3 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2295, allocations: 8 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2295, allocations: 0 / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2295, allocations: 7.938 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2297, allocations: 31.98 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.2297, allocations: 7.938 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2299, allocations: 31.86 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2299, allocations: 8 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001569/0.23, allocations: 155.9 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2301, allocations: 15.91 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.2304, allocations: 131.4 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2304, allocations: 4 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2304, allocations: 0 / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.2304, allocations: 19.8 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.2304, allocations: 12.08 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2306, allocations: 19.86 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.2307, allocations: 27.97 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005742/0.2312, allocations: 348 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005059/0.2317, allocations: 433.9 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001852/0.2319, allocations: 76.02 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.232, allocations: 141.5 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.232, allocations: 0 / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.2327, allocations: 206.1 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008573/0.2336, allocations: 0.7594 MB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Templates: time 0.006363/0.2399, allocations: 2.668 MB / 444.7 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.IntegerNetwork1.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.31291500399675]