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.001266/0.001266, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.00144/0.00144, allocations: 213.2 kB / 23 MB, free: 5.605 MB / 14.72 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.515/1.515, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002658/0.002658, allocations: 63.89 kB / 376.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3129, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003597/0.3165, allocations: 1.872 MB / 431.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.3187, allocations: 1.196 MB / 432.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3188, allocations: 8 kB / 432.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.3195, allocations: 171.5 kB / 433 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.32, allocations: 171.3 kB / 433.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.3204, allocations: 150.8 kB / 433.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3207, allocations: 215.4 kB / 433.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3209, allocations: 9.547 kB / 433.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.321, allocations: 91.67 kB / 433.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3211, allocations: 99.53 kB / 433.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3212, allocations: 12 kB / 433.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3213, allocations: 51.97 kB / 433.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.3214, allocations: 51.78 kB / 433.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.3215, allocations: 75.53 kB / 433.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3218, allocations: 232.4 kB / 434.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3218, allocations: 4 kB / 434.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3218, allocations: 0 / 434.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3218, allocations: 0 / 434.2 MB, free: 3.148 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.0009195/0.3228, allocations: 0.5349 MB / 434.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3228, allocations: 8.031 kB / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.3229, allocations: 24.73 kB / 434.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.3234, allocations: 271 kB / 435 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3234, allocations: 4.375 kB / 435 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3235, allocations: 8.375 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.3238, allocations: 118.2 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3238, allocations: 0 / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3238, allocations: 4 kB / 435.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3238, allocations: 4 kB / 435.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.324, allocations: 55.91 kB / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.3247, allocations: 0.5949 MB / 435.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3249, allocations: 135.8 kB / 435.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.325, allocations: 46.56 kB / 436 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3251, allocations: 4.078 kB / 436 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.3254, allocations: 129.8 kB / 436.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3254, allocations: 0 / 436.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004891/0.3259, allocations: 173.4 kB / 436.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.326, allocations: 136.6 kB / 436.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.3263, allocations: 293 kB / 436.7 MB, free: 360 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3263, allocations: 37.62 kB / 436.7 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.3264, allocations: 120.4 kB / 436.8 MB, free: 192 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.3265, allocations: 31.75 kB / 436.9 MB, free: 160 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.3265, allocations: 33.7 kB / 436.9 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3267, allocations: 338.8 kB / 437.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.3268, allocations: 31.98 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3269, allocations: 88.73 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3271, allocations: 96.75 kB / 437.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3271, allocations: 4 kB / 437.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/0.3274, allocations: 145.5 kB / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3274, allocations: 4 kB / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3274, allocations: 0 / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3275, allocations: 4 kB / 437.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.3275, allocations: 15.94 kB / 437.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3275, allocations: 0 / 437.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3277, allocations: 23.97 kB / 437.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3277, allocations: 8 kB / 437.6 MB, free: 15.32 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.0001475/0.3278, allocations: 149.7 kB / 437.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3279, allocations: 15.91 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.3282, allocations: 107.4 kB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3282, allocations: 4 kB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3282, allocations: 0 / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3282, allocations: 3.984 kB / 437.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3285, allocations: 253.5 kB / 438.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3285, allocations: 3.984 kB / 438.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.3285, allocations: 11.94 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3285, allocations: 0 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3286, allocations: 0 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3286, allocations: 4 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3286, allocations: 192 / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.3289, allocations: 186.5 kB / 438.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.329, allocations: 97 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.329, allocations: 4 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3291, allocations: 11.98 kB / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.3291, allocations: 19.86 kB / 438.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3292, allocations: 8 kB / 438.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.3294, allocations: 228.4 kB / 438.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3294, allocations: 4 kB / 438.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3297, allocations: 39.89 kB / 438.8 MB, free: 14.09 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.001521/0.3312, allocations: 411.7 kB / 439.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.3315, allocations: 87.89 kB / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3315, allocations: 0 / 439.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3316, allocations: 48.17 kB / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.332, allocations: 63.67 kB / 439.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.3328, allocations: 356.8 kB / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3332, allocations: 0.7319 MB / 440.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.3333, allocations: 25.53 kB / 440.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3333, allocations: 23.44 kB / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3333, allocations: 0 / 440.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007116/0.3405, allocations: 2.817 MB / 443.3 MB, free: 9.633 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.798282418400049]