Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000973/0.000973, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8903/0.8903, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.624e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.005873/0.005899, allocations: 1.857 MB / 252.9 MB, free: 5.949 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.007282, allocations: 0.936 MB / 253.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.01042, allocations: 4 kB / 253.9 MB, free: 5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.01104, allocations: 175.3 kB / 254.1 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.01133, allocations: 139.4 kB / 254.2 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.0117, allocations: 147.5 kB / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.01194, allocations: 211.4 kB / 254.5 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.01204, allocations: 9.797 kB / 254.5 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.01219, allocations: 115.7 kB / 254.7 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.01232, allocations: 79.78 kB / 254.7 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.01235, allocations: 12 kB / 254.8 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.01248, allocations: 63.83 kB / 254.8 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.01255, allocations: 47.84 kB / 254.9 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.01261, allocations: 43.84 kB / 254.9 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.01288, allocations: 171.3 kB / 255.1 MB, free: 3.809 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01288, allocations: 4 kB / 255.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01289, allocations: 0 / 255.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.01289, allocations: 4 kB / 255.1 MB, free: 3.801 MB / 234.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.003721/0.01661, allocations: 0.5477 MB / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.01666, allocations: 15.98 kB / 255.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.01673, allocations: 28.78 kB / 255.7 MB, free: 3.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.01701, allocations: 208.4 kB / 255.9 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.01703, allocations: 4.375 kB / 255.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.01705, allocations: 4.375 kB / 255.9 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.01724, allocations: 112.9 kB / 256 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01725, allocations: 3.938 kB / 256 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.01727, allocations: 4 kB / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01728, allocations: 0 / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.01735, allocations: 35.91 kB / 256 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.01818, allocations: 0.7191 MB / 256.8 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.01836, allocations: 121.3 kB / 256.9 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.01842, allocations: 43.05 kB / 256.9 MB, free: 1.77 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01843, allocations: 4 kB / 256.9 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.0186, allocations: 116 kB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.0186, allocations: 0 / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003026/0.0189, allocations: 149.5 kB / 257.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.01895, allocations: 106.8 kB / 257.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.0222, allocations: 288.3 kB / 257.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.02222, allocations: 33.7 kB / 257.6 MB, free: 1.004 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.02231, allocations: 170.8 kB / 257.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.02234, allocations: 23.86 kB / 257.8 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.0224, allocations: 47.23 kB / 257.8 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.02254, allocations: 0.504 MB / 258.3 MB, free: 244 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.02258, allocations: 15.98 kB / 258.4 MB, free: 228 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.02266, allocations: 95.81 kB / 258.4 MB, free: 100 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.02277, allocations: 90.47 kB / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02278, allocations: 0 / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001788/0.02296, allocations: 125.3 kB / 258.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02297, allocations: 8 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.02298, allocations: 0 / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.02299, allocations: 0 / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.02309, allocations: 24.61 kB / 258.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.02309, allocations: 4.094 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.02317, allocations: 19.88 kB / 258.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.02318, allocations: 4 kB / 258.7 MB, free: 15.8 MB / 250.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.0001011/0.02328, allocations: 172.5 kB / 258.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.02331, allocations: 19.91 kB / 258.9 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.02348, allocations: 103.4 kB / 259 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.02348, allocations: 4 kB / 259 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02348, allocations: 0 / 259 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.02349, allocations: 0 / 259 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.02366, allocations: 196.4 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.02366, allocations: 0 / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.02369, allocations: 8 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0237, allocations: 3.984 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.02371, allocations: 8 kB / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.02371, allocations: 0 / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.02371, allocations: 0 / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.02392, allocations: 178.7 kB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.02394, allocations: 23.84 kB / 259.4 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.02397, allocations: 8 kB / 259.4 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.02403, allocations: 11.98 kB / 259.4 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.02409, allocations: 11.98 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.02411, allocations: 11.98 kB / 259.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.02424, allocations: 201.1 kB / 259.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02424, allocations: 0 / 259.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.0245, allocations: 39.92 kB / 259.7 MB, free: 14.74 MB / 250.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.004021/0.02853, allocations: 400.4 kB / 260.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.02872, allocations: 71.58 kB / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02872, allocations: 0 / 260.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.02879, allocations: 43.86 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.02912, allocations: 64.86 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.02966, allocations: 325.1 kB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.02972, allocations: 79.97 kB / 260.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.02979, allocations: 21.47 kB / 260.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.02984, allocations: 24.5 kB / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02984, allocations: 0 / 260.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of Templates: time 0.01321/0.04305, allocations: 2.873 MB / 263.6 MB, free: 10.84 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7069482849910855]