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.001594/0.001594, allocations: 117.2 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.001916/0.001916, allocations: 206.7 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.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003074/0.2642, allocations: 1.84 MB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2661, allocations: 1.176 MB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2663, allocations: 0 / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.2669, allocations: 175.5 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.2674, allocations: 163.3 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.2678, allocations: 139.1 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.2681, allocations: 223.4 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2682, allocations: 21.56 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2683, allocations: 95.61 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2685, allocations: 83.61 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.2685, allocations: 12 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2687, allocations: 59.91 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.2688, allocations: 47.78 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.2689, allocations: 75.53 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.2692, allocations: 223 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2692, allocations: 0 / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2692, allocations: 3.938 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2692, allocations: 4 kB / 414.2 MB, free: 13.23 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.0008489/0.2701, allocations: 0.5326 MB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2701, allocations: 12.03 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.2702, allocations: 16.75 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.2705, allocations: 266.8 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2705, allocations: 8.375 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2706, allocations: 8.125 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2708, allocations: 125.9 kB / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2708, allocations: 0 / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2709, allocations: 0 / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2709, allocations: 4 kB / 415.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.271, allocations: 47.91 kB / 415.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.2717, allocations: 0.6066 MB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.2719, allocations: 123.9 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.272, allocations: 54.55 kB / 416 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2721, allocations: 0 / 416 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2723, allocations: 121.9 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.2723, allocations: 0 / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004506/0.2728, allocations: 177.3 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.2728, allocations: 132.5 kB / 416.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.2731, allocations: 289 kB / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2732, allocations: 37.83 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.2733, allocations: 140.2 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2733, allocations: 19.72 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.2734, allocations: 33.7 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2735, allocations: 338.8 kB / 417.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.2736, allocations: 35.92 kB / 417.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2737, allocations: 85.92 kB / 417.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2739, allocations: 92.72 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2739, allocations: 0 / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002766/0.2742, allocations: 153.3 kB / 417.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2742, allocations: 14.91 kB / 417.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2742, allocations: 0 / 417.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2743, allocations: 4 kB / 417.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.2743, allocations: 12 kB / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2744, allocations: 0 / 417.7 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2745, allocations: 11.98 kB / 417.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2745, allocations: 15.88 kB / 417.7 MB, free: 9.41 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.0001434/0.2746, allocations: 153.8 kB / 417.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2747, allocations: 19.72 kB / 417.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.2747, allocations: 25.7 kB / 417.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2748, allocations: 0 / 417.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2748, allocations: 4 kB / 417.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2748, allocations: 100.8 kB / 418 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.2749, allocations: 7.938 kB / 418 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.275, allocations: 11.98 kB / 418 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2751, allocations: 15.98 kB / 418 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004049/0.2755, allocations: 379.3 kB / 418.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003779/0.2759, allocations: 469 kB / 418.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.276, allocations: 52.22 kB / 418.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.2762, allocations: 224.4 kB / 419.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of Backend: time 4.41e-07/0.2762, allocations: 0 / 419.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.2777, allocations: 450.8 kB / 419.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008075/0.2785, allocations: 0.7815 MB / 420.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of Templates: time 0.006217/0.2848, allocations: 2.988 MB / 423.4 MB, free: 3.82 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