Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.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.001894/0.001894, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002314/0.002314, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.416/1.416, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.89 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.229, allocations: 53.41 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.0035/0.2325, allocations: 1.876 MB / 434.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2346, allocations: 1.203 MB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2347, allocations: 0 / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.2354, allocations: 179.5 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.2358, allocations: 163.3 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.2362, allocations: 147.1 kB / 436 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2365, allocations: 223.3 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.2366, allocations: 13.75 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.2368, allocations: 95.61 kB / 436.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.237, allocations: 95.59 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.237, allocations: 12 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2372, allocations: 55.97 kB / 436.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.033e-05/0.2372, allocations: 51.77 kB / 436.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2373, allocations: 79.53 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.2377, allocations: 224.4 kB / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2377, allocations: 0 / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2377, allocations: 0 / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.2377, allocations: 4 kB / 436.8 MB, free: 2.395 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.0009327/0.2386, allocations: 474.6 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2387, allocations: 12.03 kB / 437.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.2388, allocations: 20.8 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2391, allocations: 205.2 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2391, allocations: 4.375 kB / 437.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2391, allocations: 8.375 kB / 437.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2394, allocations: 126.1 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2394, allocations: 0 / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2394, allocations: 4 kB / 437.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2394, allocations: 4 kB / 437.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.2396, allocations: 47.91 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.2403, allocations: 0.5823 MB / 438.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.2406, allocations: 131.9 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2407, allocations: 46.56 kB / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2407, allocations: 0 / 438.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.2409, allocations: 129.8 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.2409, allocations: 3.938 kB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004457/0.2414, allocations: 173.4 kB / 438.8 MB, free: 256 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.2415, allocations: 132.5 kB / 438.9 MB, free: 92 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.2418, allocations: 293.1 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2418, allocations: 33.7 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.2419, allocations: 128.5 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.242, allocations: 31.73 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.242, allocations: 29.72 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2422, allocations: 334.8 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.2423, allocations: 39.92 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2424, allocations: 81.98 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2426, allocations: 92.22 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2426, allocations: 0 / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002852/0.2429, allocations: 150 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2429, allocations: 10.5 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2429, allocations: 0 / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2429, allocations: 0 / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.243, allocations: 12.06 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.243, allocations: 11.98 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2431, allocations: 11.94 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2431, allocations: 8 kB / 440.1 MB, free: 14.78 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.0001384/0.2433, allocations: 149.8 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.2433, allocations: 27.84 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.2435, allocations: 103.4 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2435, allocations: 0 / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2435, allocations: 4 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2435, allocations: 7.969 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.2438, allocations: 224.5 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2438, allocations: 0 / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.2438, allocations: 7.938 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2438, allocations: 8 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2438, allocations: 0 / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2438, allocations: 3.938 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2439, allocations: 4 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.2442, allocations: 182.5 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2442, allocations: 23.83 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2442, allocations: 8 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2443, allocations: 15.98 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2444, allocations: 7.984 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.2444, allocations: 11.98 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.2446, allocations: 220.4 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2446, allocations: 0 / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2449, allocations: 32 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001525/0.2464, allocations: 421.2 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.2467, allocations: 83.84 kB / 441.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2467, allocations: 0 / 441.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2468, allocations: 51.91 kB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2472, allocations: 55.91 kB / 441.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.2479, allocations: 386.9 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2483, allocations: 0.732 MB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.2483, allocations: 23.44 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2483, allocations: 4 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Templates: time 0.005615/0.2539, allocations: 2.962 MB / 445.8 MB, free: 9.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.4531993069686]