Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 211.7 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.4 MB / 250 MB, free: 9.035 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.84 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2687, allocations: 53.31 MB / 420.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003302/0.272, allocations: 1.863 MB / 422.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.274, allocations: 1.185 MB / 423.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2741, allocations: 4 kB / 423.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.2748, allocations: 163.5 kB / 423.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.2752, allocations: 171.3 kB / 424 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2757, allocations: 138.5 kB / 424.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.2759, allocations: 219.4 kB / 424.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.276, allocations: 13.56 kB / 424.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2762, allocations: 91.61 kB / 424.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2763, allocations: 91.61 kB / 424.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2764, allocations: 15.98 kB / 424.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2765, allocations: 59.91 kB / 424.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.2766, allocations: 43.84 kB / 424.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.2767, allocations: 83.52 kB / 424.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.277, allocations: 227 kB / 425 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.277, allocations: 0 / 425 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.277, allocations: 0 / 425 MB, free: 4.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.277, allocations: 0 / 425 MB, free: 4.027 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.0009642/0.278, allocations: 0.5417 MB / 425.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.278, allocations: 12.03 kB / 425.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.2781, allocations: 20.8 kB / 425.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2785, allocations: 263 kB / 425.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2785, allocations: 8.375 kB / 425.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2785, allocations: 12.06 kB / 425.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.2787, allocations: 117.9 kB / 426 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2787, allocations: 0 / 426 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2788, allocations: 0 / 426 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2788, allocations: 4 kB / 426 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.2789, allocations: 47.91 kB / 426 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.2796, allocations: 0.6143 MB / 426.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2799, allocations: 115.9 kB / 426.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.28, allocations: 50.56 kB / 426.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.28, allocations: 0 / 426.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.2803, allocations: 129.9 kB / 426.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.2803, allocations: 0 / 426.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004635/0.2807, allocations: 177.4 kB / 427.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.2808, allocations: 136.5 kB / 427.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2812, allocations: 293 kB / 427.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2812, allocations: 33.7 kB / 427.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.2813, allocations: 120.4 kB / 427.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2814, allocations: 31.73 kB / 427.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.2814, allocations: 37.84 kB / 427.7 MB, free: 1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2816, allocations: 346.6 kB / 428.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.847e-05/0.2817, allocations: 28.48 kB / 428.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2818, allocations: 81.98 kB / 428.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.282, allocations: 96.25 kB / 428.3 MB, free: 424 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.282, allocations: 0 / 428.3 MB, free: 424 kB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002904/0.2823, allocations: 145.4 kB / 428.4 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2823, allocations: 8 kB / 428.4 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2823, allocations: 0 / 428.4 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2824, allocations: 8.094 kB / 428.4 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.2825, allocations: 15.98 kB / 428.4 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2825, allocations: 3.938 kB / 428.4 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2826, allocations: 23.86 kB / 428.5 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2826, allocations: 4 kB / 428.5 MB, free: 208 kB / 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.0001456/0.2827, allocations: 146.7 kB / 428.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.2828, allocations: 23.84 kB / 428.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.2828, allocations: 25.7 kB / 428.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2828, allocations: 8.047 kB / 428.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2829, allocations: 0 / 428.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2829, allocations: 3.938 kB / 428.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.2831, allocations: 245.5 kB / 428.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2831, allocations: 4.125 kB / 428.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.2832, allocations: 7.938 kB / 428.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2832, allocations: 4 kB / 428.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2832, allocations: 4 kB / 428.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2832, allocations: 4 kB / 428.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2832, allocations: 0 / 428.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.2835, allocations: 186.5 kB / 429.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.2836, allocations: 93.02 kB / 429.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2836, allocations: 4 kB / 429.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2837, allocations: 11.98 kB / 429.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.2838, allocations: 23.86 kB / 429.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2838, allocations: 4 kB / 429.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.284, allocations: 220.4 kB / 429.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.284, allocations: 4 kB / 429.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.2843, allocations: 35.94 kB / 429.5 MB, free: 15.06 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001461/0.2857, allocations: 418 kB / 429.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.286, allocations: 91.97 kB / 430 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.286, allocations: 0 / 430 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2861, allocations: 51.89 kB / 430 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.2865, allocations: 44.28 kB / 430.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.2872, allocations: 361 kB / 430.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2875, allocations: 0.7319 MB / 431.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.112e-05/0.2876, allocations: 33.5 kB / 431.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.2877, allocations: 19.44 kB / 431.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2877, allocations: 0 / 431.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007006/0.2947, allocations: 2.807 MB / 434 MB, free: 10.64 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches