Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.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.001713/0.001713, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.002093/0.002093, allocations: 217.1 kB / 24.49 MB, free: 3.926 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2214, allocations: 53.37 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003239/0.2247, allocations: 1.821 MB / 434.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.2267, allocations: 1.122 MB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.2268, allocations: 0 / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.2274, allocations: 175.5 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.2278, allocations: 167.3 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2281, allocations: 151.2 kB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.2284, allocations: 219.3 kB / 436 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.2285, allocations: 13.75 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2286, allocations: 91.61 kB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2288, allocations: 95.59 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2288, allocations: 8 kB / 436.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2289, allocations: 63.95 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.229, allocations: 51.78 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.2291, allocations: 55.66 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.2294, allocations: 226.1 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2294, allocations: 7.938 kB / 436.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2294, allocations: 4 kB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2294, allocations: 0 / 436.6 MB, free: 2.625 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008298/0.2303, allocations: 470.6 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2303, allocations: 8.031 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.2303, allocations: 24.8 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2307, allocations: 205.2 kB / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2307, allocations: 4.375 kB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2307, allocations: 12.12 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.231, allocations: 113 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.231, allocations: 0 / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.231, allocations: 4 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.231, allocations: 4 kB / 437.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.2311, allocations: 47.91 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.2318, allocations: 0.5399 MB / 438 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2321, allocations: 135.8 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2322, allocations: 50.56 kB / 438.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2322, allocations: 3.938 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.2325, allocations: 121.9 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2325, allocations: 0 / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004755/0.2329, allocations: 181.9 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.233, allocations: 106.8 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.2333, allocations: 293.1 kB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2334, allocations: 33.7 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2335, allocations: 124.2 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.2335, allocations: 35.8 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.2336, allocations: 33.72 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2337, allocations: 334.8 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2338, allocations: 36.05 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.234, allocations: 106.8 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.2342, allocations: 100.2 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2342, allocations: 4.031 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00031/0.2345, allocations: 137.5 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2345, allocations: 8 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2345, allocations: 0 / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2345, allocations: 4 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.2346, allocations: 19.92 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2346, allocations: 0 / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2347, allocations: 16.08 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2348, allocations: 8 kB / 439.8 MB, free: 15.07 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: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000145/0.2349, allocations: 154.3 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.2349, allocations: 23.86 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.2352, allocations: 111.4 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.2352, allocations: 4.109 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2352, allocations: 4 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2353, allocations: 27.8 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.2353, allocations: 7.938 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2354, allocations: 11.98 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2355, allocations: 19.97 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000454/0.2359, allocations: 387.4 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004443/0.2364, allocations: 473.2 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001309/0.2365, allocations: 47.97 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.2367, allocations: 220.4 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.2367, allocations: 3.938 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2389, allocations: 489 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008896/0.2398, allocations: 0.7905 MB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007091/0.2469, allocations: 3.22 MB / 445.8 MB, free: 9.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.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.417159103999438]