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.001226/0.001226, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 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.002187/0.002187, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.743e-05/3.911e-05, allocations: 9.266 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004023/0.004062, allocations: 1.887 MB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.006099, allocations: 1.157 MB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.006235, allocations: 4 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.006864, allocations: 175.4 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.007334, allocations: 175.2 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.007781, allocations: 151.4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.008109, allocations: 219.2 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.008207, allocations: 13.8 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.008395, allocations: 115.7 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.008531, allocations: 79.78 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.008556, allocations: 16 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.008708, allocations: 55.95 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.008792, allocations: 51.83 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.008862, allocations: 39.86 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.009208, allocations: 179.3 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.009212, allocations: 3.938 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.009213, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.009218, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 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.0007566/0.009975, allocations: 0.5557 MB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01002, allocations: 11.98 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.01009, allocations: 32.8 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.0104, allocations: 216.3 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.01043, allocations: 8.375 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.01044, allocations: 4.375 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.01063, allocations: 101 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01065, allocations: 4.125 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01067, allocations: 8.359 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.01068, allocations: 7.938 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.01075, allocations: 23.92 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.01145, allocations: 0.723 MB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01165, allocations: 117.4 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.01172, allocations: 43.05 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.01175, allocations: 15.81 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.01193, allocations: 116.1 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.01193, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000322/0.01225, allocations: 145.5 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.01232, allocations: 114.8 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.01259, allocations: 288.3 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.01262, allocations: 33.7 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01274, allocations: 174.8 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.01278, allocations: 27.75 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.01286, allocations: 39.36 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.01305, allocations: 0.5079 MB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.0131, allocations: 15.98 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.01333, allocations: 99.81 kB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.01345, allocations: 90.84 kB / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.01346, allocations: 0 / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000199/0.01366, allocations: 121.4 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.01368, allocations: 11.28 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01368, allocations: 0 / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.0137, allocations: 4 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.01379, allocations: 19.92 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01379, allocations: 0 / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.01387, allocations: 20.08 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01388, allocations: 4 kB / 280.9 MB, free: 9.117 MB / 266.7 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.0001138/0.01399, allocations: 172.5 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.01403, allocations: 31.8 kB / 281.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.01422, allocations: 95.44 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01422, allocations: 0 / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.01422, allocations: 0 / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.01423, allocations: 11.92 kB / 281.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.01444, allocations: 184.5 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01445, allocations: 4 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.01448, allocations: 15.92 kB / 281.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01449, allocations: 4.062 kB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.0145, allocations: 8 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.01451, allocations: 4 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01451, allocations: 0 / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.01474, allocations: 175.6 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.01477, allocations: 19.84 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.0148, allocations: 8 kB / 281.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.01486, allocations: 7.984 kB / 281.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.01493, allocations: 23.91 kB / 281.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01494, allocations: 4 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.01511, allocations: 209.1 kB / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01511, allocations: 0 / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.01542, allocations: 39.89 kB / 281.9 MB, free: 8.035 MB / 266.7 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 (13): * Single equations (assignments): 10 * 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.001131/0.01655, allocations: 388.5 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01674, allocations: 75.59 kB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01674, allocations: 0 / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.01682, allocations: 43.61 kB / 282.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.01716, allocations: 60.52 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.01782, allocations: 345.2 kB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.01789, allocations: 75.98 kB / 282.8 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.928e-05/0.01797, allocations: 25.45 kB / 282.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.01802, allocations: 24.5 kB / 282.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01803, allocations: 3.938 kB / 282.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of Templates: time 0.006321/0.02435, allocations: 2.902 MB / 285.8 MB, free: 4.195 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1017361166886985]