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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.14 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003069/0.2408, allocations: 1.843 MB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2428, allocations: 1.177 MB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2429, allocations: 4 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.2436, allocations: 167.5 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.244, allocations: 175.3 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2445, allocations: 135.1 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.2448, allocations: 223.4 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2449, allocations: 21.56 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2451, allocations: 95.61 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2452, allocations: 83.61 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2453, allocations: 15.94 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2454, allocations: 55.97 kB / 413.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.2455, allocations: 47.83 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.2456, allocations: 75.53 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.2459, allocations: 227 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2459, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2459, allocations: 0 / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2459, allocations: 4 kB / 414.2 MB, free: 13.21 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.0008179/0.2468, allocations: 0.5287 MB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2468, allocations: 8.031 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.2469, allocations: 24.75 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.2473, allocations: 270.7 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2473, allocations: 4.312 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2473, allocations: 12.12 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2476, allocations: 121.9 kB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2476, allocations: 0 / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2476, allocations: 0 / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.2476, allocations: 4 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.2478, allocations: 47.91 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.2484, allocations: 0.6144 MB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.2487, allocations: 123.9 kB / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2488, allocations: 46.56 kB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2488, allocations: 3.984 kB / 416 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.2491, allocations: 129.9 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.2491, allocations: 0 / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004654/0.2495, allocations: 169.3 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.2496, allocations: 140.5 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.25, allocations: 293 kB / 416.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.25, allocations: 29.7 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.2501, allocations: 136.3 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.2502, allocations: 23.7 kB / 416.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.2502, allocations: 29.72 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2504, allocations: 338.8 kB / 417.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.2505, allocations: 31.98 kB / 417.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.2506, allocations: 85.92 kB / 417.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2508, allocations: 92.72 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2508, allocations: 0 / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002834/0.2511, allocations: 157.2 kB / 417.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2511, allocations: 11.12 kB / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2511, allocations: 0 / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2511, allocations: 0 / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.2512, allocations: 19.92 kB / 417.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2512, allocations: 4 kB / 417.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2514, allocations: 12 kB / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2514, allocations: 11.92 kB / 417.7 MB, free: 9.391 MB / 334.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.0001286/0.2515, allocations: 145.9 kB / 417.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.2516, allocations: 27.7 kB / 417.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.2516, allocations: 21.72 kB / 417.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2516, allocations: 3.984 kB / 417.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2516, allocations: 4 kB / 417.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.2517, allocations: 92.86 kB / 418 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2517, allocations: 7.938 kB / 418 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.2519, allocations: 11.98 kB / 418 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.2519, allocations: 23.92 kB / 418.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003914/0.2523, allocations: 371.3 kB / 418.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004166/0.2528, allocations: 481.2 kB / 418.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001294/0.2529, allocations: 59.91 kB / 418.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.2531, allocations: 216.5 kB / 419.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of Backend: time 2.8e-07/0.2531, allocations: 0 / 419.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.2546, allocations: 435.2 kB / 419.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008658/0.2555, allocations: 0.7896 MB / 420.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of Templates: time 0.006738/0.2623, allocations: 2.99 MB / 423.4 MB, free: 3.805 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches