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.001022/0.001022, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.00118/0.00118, allocations: 166.2 kB / 24.91 MB, free: 8.758 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.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.445 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.804e-06/1.804e-06, allocations: 3.938 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.539e-05, allocations: 6.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004147/0.004173, allocations: 1.931 MB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.006477, allocations: 1.164 MB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.006636, allocations: 4 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.007391, allocations: 167.3 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.007946, allocations: 175.2 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.008425, allocations: 139.5 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.008711, allocations: 223.2 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.008814, allocations: 14.45 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.008993, allocations: 111.7 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.009138, allocations: 83.78 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.009164, allocations: 8 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.009331, allocations: 71.81 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.009409, allocations: 47.84 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.009463, allocations: 47.84 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.009749, allocations: 175.3 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.009751, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.009751, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.009755, allocations: 0 / 277.7 MB, free: 12.82 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.0006049/0.01036, allocations: 433.3 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.0104, allocations: 11.98 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.01046, allocations: 12.92 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.01075, allocations: 193.6 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.01077, allocations: 16.3 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.01079, allocations: 8.375 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.01099, allocations: 96.45 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01101, allocations: 192 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01102, allocations: 4.375 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01103, allocations: 3.938 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.01109, allocations: 26.75 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.01161, allocations: 454.3 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.0118, allocations: 138.6 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.01185, allocations: 30.5 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.01187, allocations: 4 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.01204, allocations: 108.6 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.01204, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002128/0.01226, allocations: 92.42 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.01232, allocations: 110.8 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01252, allocations: 238.7 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.01255, allocations: 29.83 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.01261, allocations: 112.5 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.01265, allocations: 31.72 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.0127, allocations: 29.69 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01282, allocations: 342.8 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.01285, allocations: 10.83 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.01292, allocations: 74.84 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.01301, allocations: 69.84 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01301, allocations: 4.031 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001549/0.01316, allocations: 96.86 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.01319, allocations: 11.94 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01319, allocations: 128 / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01321, allocations: 4 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.01329, allocations: 19.98 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01329, allocations: 3.938 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.01337, allocations: 15.94 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01338, allocations: 12.09 kB / 280.5 MB, free: 9.746 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.0001027/0.01348, allocations: 120.6 kB / 280.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.01351, allocations: 19.92 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.01365, allocations: 87.34 kB / 280.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01365, allocations: 0 / 280.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01365, allocations: 3.938 kB / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.01366, allocations: 4 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.01381, allocations: 113.8 kB / 280.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01382, allocations: 4 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.01385, allocations: 8 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01385, allocations: 8 kB / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01386, allocations: 0 / 280.9 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01386, allocations: 3.938 kB / 280.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01386, allocations: 4 kB / 280.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01403, allocations: 124.4 kB / 281 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.01406, allocations: 23.84 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01408, allocations: 4 kB / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.01415, allocations: 15.92 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.01421, allocations: 15.98 kB / 281.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01422, allocations: 3.984 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.01433, allocations: 89.61 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01433, allocations: 0 / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01457, allocations: 35.94 kB / 281.2 MB, free: 9.004 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.001712/0.01628, allocations: 0.5075 MB / 281.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.01642, allocations: 56.77 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.01642, allocations: 4 kB / 281.8 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/0.01648, allocations: 36.97 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.0167, allocations: 60.27 kB / 281.9 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.01718, allocations: 330.7 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.01723, allocations: 75.98 kB / 282.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.0173, allocations: 17.64 kB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.0174, allocations: 95.34 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0174, allocations: 0 / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of Templates: time 0.006196/0.0236, allocations: 3.085 MB / 285.5 MB, free: 4.922 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 -s gbode -gbm=radauIIA3 -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.746814182959497]