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.001147/0.001147, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001189/0.001189, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 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.003/1.003, allocations: 177 MB / 205.1 MB, free: 5.469 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.273e-06/1.273e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.646e-05, allocations: 4.984 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002206/0.002223, allocations: 1.875 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003591, allocations: 1.141 MB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.003685, allocations: 3.938 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.004279, allocations: 171.5 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.004594, allocations: 183.1 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.004872, allocations: 147.5 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.005073, allocations: 215.3 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.005157, allocations: 9.797 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.00528, allocations: 123.6 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.005391, allocations: 79.78 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.005412, allocations: 12 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005513, allocations: 63.89 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.005573, allocations: 51.78 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.005618, allocations: 43.84 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.005815, allocations: 167.4 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005817, allocations: 0 / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005818, allocations: 0 / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.00582, allocations: 0 / 277.6 MB, free: 12.94 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.0005184/0.006339, allocations: 0.5633 MB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006373, allocations: 15.98 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.006414, allocations: 24.8 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006584, allocations: 212.4 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.0066, allocations: 8.375 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.00661, allocations: 4.375 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006732, allocations: 104.9 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00674, allocations: 4.188 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006748, allocations: 4.375 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006753, allocations: 3.938 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.006794, allocations: 27.92 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.00718, allocations: 0.6845 MB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.00729, allocations: 117.4 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.007323, allocations: 39.05 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.007343, allocations: 15.98 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.007451, allocations: 115.9 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.007452, allocations: 4 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001887/0.00764, allocations: 125.5 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.007677, allocations: 114.9 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.007838, allocations: 292.2 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.007851, allocations: 29.7 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.007929, allocations: 182.8 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.007955, allocations: 31.67 kB / 280.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.007995, allocations: 43.34 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.008144, allocations: 0.5079 MB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.008165, allocations: 8 kB / 280.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.00822, allocations: 95.8 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.008285, allocations: 82.39 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008287, allocations: 0 / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001111/0.008398, allocations: 121.9 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.008409, allocations: 7.125 kB / 281.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008415, allocations: 4 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.008422, allocations: 0 / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.008478, allocations: 20.05 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008483, allocations: 7.938 kB / 281.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.008534, allocations: 16.09 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.00854, allocations: 3.984 kB / 281.2 MB, free: 8.992 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 7.5e-05/0.008615, allocations: 168.5 kB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.008639, allocations: 27.8 kB / 281.4 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.008749, allocations: 99.36 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008752, allocations: 4 kB / 281.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008753, allocations: 0 / 281.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008757, allocations: 0 / 281.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.008876, allocations: 153.1 kB / 281.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008877, allocations: 4 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.868e-05/0.008896, allocations: 8 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008897, allocations: 0 / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.008905, allocations: 8 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008907, allocations: 3.938 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008908, allocations: 0 / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.009037, allocations: 175.6 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.009055, allocations: 11.91 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.009075, allocations: 7.984 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.009118, allocations: 15.88 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.009155, allocations: 23.97 kB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.009166, allocations: 4 kB / 281.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.009253, allocations: 197.1 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009253, allocations: 0 / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.009422, allocations: 43.88 kB / 282.1 MB, free: 7.98 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.000751/0.01017, allocations: 402.9 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01028, allocations: 67.58 kB / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01028, allocations: 0 / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.01033, allocations: 47.59 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01053, allocations: 44.66 kB / 282.7 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.01089, allocations: 334.2 kB / 283 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.01093, allocations: 83.97 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01098, allocations: 17.48 kB / 283.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.01107, allocations: 106.2 kB / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01107, allocations: 0 / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of Templates: time 0.004505/0.01557, allocations: 3.171 MB / 286.4 MB, free: 3.824 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: 2.7279922580346465]