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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001804/0.001804, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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=5018,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=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "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.001995/0.001995, allocations: 68.75 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003649/0.3251, allocations: 1.875 MB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3272, allocations: 1.204 MB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3273, allocations: 7.938 kB / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.328, allocations: 174.3 kB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.3284, allocations: 167.3 kB / 435.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3287, allocations: 143.6 kB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.329, allocations: 219.3 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3291, allocations: 13.72 kB / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.3293, allocations: 87.64 kB / 436.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3294, allocations: 95.59 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3294, allocations: 12 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3296, allocations: 67.89 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.3297, allocations: 47.83 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3298, allocations: 83.53 kB / 436.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3301, allocations: 224.7 kB / 436.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3301, allocations: 3.938 kB / 436.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3301, allocations: 0 / 436.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3301, allocations: 4 kB / 436.8 MB, free: 2.539 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.0009003/0.331, allocations: 470.6 kB / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.331, allocations: 8.031 kB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.3311, allocations: 24.8 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.3314, allocations: 205.2 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.3314, allocations: 8.359 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3315, allocations: 16.11 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3317, allocations: 109.9 kB / 437.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3317, allocations: 0 / 437.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3317, allocations: 12 kB / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3317, allocations: 0 / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3319, allocations: 51.91 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.3326, allocations: 0.5783 MB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.3328, allocations: 119.9 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3329, allocations: 46.56 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.333, allocations: 11.98 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.3332, allocations: 117.9 kB / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3332, allocations: 0 / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000458/0.3337, allocations: 174 kB / 438.7 MB, free: 424 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.3338, allocations: 148.5 kB / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3341, allocations: 297.2 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3341, allocations: 25.7 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.3342, allocations: 128.3 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3343, allocations: 35.73 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.3343, allocations: 29.7 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3345, allocations: 334.8 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3346, allocations: 35.98 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3347, allocations: 77.98 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3349, allocations: 100.2 kB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3349, allocations: 0 / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002872/0.3352, allocations: 145.4 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3352, allocations: 4 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3352, allocations: 0 / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3352, allocations: 4 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.3353, allocations: 15.98 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3353, allocations: 8.031 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3354, allocations: 23.86 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3355, allocations: 4 kB / 440.1 MB, free: 14.92 MB / 350.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.0001471/0.3356, allocations: 141.8 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3356, allocations: 19.86 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3359, allocations: 119.4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3359, allocations: 4 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3359, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3359, allocations: 7.938 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3361, allocations: 220.6 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3361, allocations: 0 / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.3362, allocations: 8 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3362, allocations: 0 / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3362, allocations: 4 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3362, allocations: 3.984 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3362, allocations: 0 / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3365, allocations: 190.4 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3365, allocations: 23.84 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3366, allocations: 3.984 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3367, allocations: 15.98 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.3367, allocations: 15.91 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3368, allocations: 12 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.337, allocations: 220.5 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3372, allocations: 35.98 kB / 441.1 MB, free: 13.81 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001508/0.3387, allocations: 419.4 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.339, allocations: 87.89 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.339, allocations: 192 / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3392, allocations: 51.92 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3395, allocations: 49.27 kB / 441.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.3402, allocations: 356.9 kB / 442.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3406, allocations: 0.7399 MB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.3407, allocations: 17.48 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3407, allocations: 23.42 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3407, allocations: 4 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Templates: time 0.007271/0.348, allocations: 2.852 MB / 445.7 MB, free: 9.352 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.661402832716703]