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.001233/0.001233, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.001334/0.001334, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.284/1.284, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 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.884e-06/1.884e-06, allocations: 3.938 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.087e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003735/0.003766, allocations: 1.781 MB / 300.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.005594, allocations: 0.9134 MB / 301.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.005701, allocations: 4 kB / 301.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.006435, allocations: 175.4 kB / 301.8 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.006795, allocations: 143.3 kB / 301.9 MB, free: 5.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.007223, allocations: 143.6 kB / 302.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.007529, allocations: 219.2 kB / 302.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.007643, allocations: 5.812 kB / 302.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.007833, allocations: 119.6 kB / 302.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.007972, allocations: 71.84 kB / 302.5 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.008005, allocations: 15.94 kB / 302.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.008158, allocations: 63.84 kB / 302.6 MB, free: 5.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.00825, allocations: 51.83 kB / 302.6 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.757e-05/0.008338, allocations: 43.86 kB / 302.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.008727, allocations: 219.3 kB / 302.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.008731, allocations: 3.938 kB / 302.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008732, allocations: 0 / 302.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.008738, allocations: 4 kB / 302.9 MB, free: 4.75 MB / 286.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.000966/0.009704, allocations: 462.7 kB / 303.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.009744, allocations: 11.98 kB / 303.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.009828, allocations: 20.8 kB / 303.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.01017, allocations: 200.9 kB / 303.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.01019, allocations: 8.375 kB / 303.6 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.0102, allocations: 4.375 kB / 303.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.01045, allocations: 117.6 kB / 303.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01046, allocations: 3.938 kB / 303.7 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.01048, allocations: 4 kB / 303.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01049, allocations: 3.984 kB / 303.7 MB, free: 3.852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.01064, allocations: 51.91 kB / 303.8 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.01131, allocations: 0.5361 MB / 304.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.0116, allocations: 127.8 kB / 304.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.01171, allocations: 46.56 kB / 304.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01173, allocations: 0 / 304.5 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.01201, allocations: 129.8 kB / 304.6 MB, free: 2.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.01202, allocations: 4 kB / 304.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005383/0.01255, allocations: 181.5 kB / 304.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.01263, allocations: 106.8 kB / 304.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.01295, allocations: 285.7 kB / 305.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01298, allocations: 33.62 kB / 305.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.01308, allocations: 128.1 kB / 305.3 MB, free: 2.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.01311, allocations: 23.86 kB / 305.3 MB, free: 2.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.01318, allocations: 33.7 kB / 305.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.01335, allocations: 334.8 kB / 305.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01345, allocations: 35.98 kB / 305.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01359, allocations: 102.8 kB / 305.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.01379, allocations: 104.2 kB / 305.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01379, allocations: 0 / 305.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002935/0.01408, allocations: 146 kB / 306.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.0141, allocations: 4 kB / 306.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.0141, allocations: 4 kB / 306.1 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01412, allocations: 96 / 306.1 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01423, allocations: 19.98 kB / 306.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01424, allocations: 7.938 kB / 306.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01436, allocations: 23.94 kB / 306.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01437, allocations: 4 kB / 306.1 MB, free: 1.207 MB / 286.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.0002477/0.01461, allocations: 149.5 kB / 306.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.01465, allocations: 23.91 kB / 306.3 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.01491, allocations: 111.4 kB / 306.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01491, allocations: 4 kB / 306.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01492, allocations: 4 kB / 306.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01492, allocations: 0 / 306.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.01515, allocations: 181.1 kB / 306.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01515, allocations: 0 / 306.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.01519, allocations: 11.92 kB / 306.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01519, allocations: 4 kB / 306.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.01521, allocations: 0 / 306.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.01521, allocations: 4 kB / 306.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01521, allocations: 0 / 306.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.01563, allocations: 186.6 kB / 306.8 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.01567, allocations: 27.86 kB / 306.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.0157, allocations: 0 / 306.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.0158, allocations: 15.98 kB / 306.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.01587, allocations: 19.97 kB / 306.9 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01588, allocations: 7.938 kB / 306.9 MB, free: 416 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.01612, allocations: 209.2 kB / 307.1 MB, free: 208 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01612, allocations: 0 / 307.1 MB, free: 208 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.01639, allocations: 35.94 kB / 307.1 MB, free: 172 kB / 286.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 (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.001655/0.01805, allocations: 451.5 kB / 307.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.01834, allocations: 99.84 kB / 307.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01834, allocations: 0 / 307.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01848, allocations: 51.91 kB / 307.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01883, allocations: 52.34 kB / 307.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.01946, allocations: 339.9 kB / 308.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.01959, allocations: 131.7 kB / 308.2 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.308e-05/0.01966, allocations: 17.48 kB / 308.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.01972, allocations: 20.5 kB / 308.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01972, allocations: 0 / 308.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of Templates: time 0.007376/0.0271, allocations: 2.839 MB / 311.1 MB, free: 12.13 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.3981632478535175]