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.002732/0.002732, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.002531/0.002531, allocations: 161.4 kB / 25.03 MB, free: 8.93 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 1.42/1.42, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.737e-05, allocations: 6.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003632/0.003659, allocations: 1.83 MB / 252.2 MB, free: 6.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.005562, allocations: 0.936 MB / 253.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.005651, allocations: 0 / 253.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.00638, allocations: 167.5 kB / 253.3 MB, free: 4.895 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.006749, allocations: 139.4 kB / 253.4 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.007175, allocations: 155.5 kB / 253.6 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.007508, allocations: 203.4 kB / 253.8 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.007626, allocations: 13.78 kB / 253.8 MB, free: 4.395 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.007849, allocations: 111.7 kB / 253.9 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.008022, allocations: 75.78 kB / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.00806, allocations: 16 kB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.008244, allocations: 59.89 kB / 254 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.00835, allocations: 51.83 kB / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.008443, allocations: 43.86 kB / 254.1 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.008847, allocations: 223.2 kB / 254.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.008851, allocations: 4 kB / 254.3 MB, free: 3.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008853, allocations: 0 / 254.3 MB, free: 3.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.008858, allocations: 0 / 254.3 MB, free: 3.82 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.000969/0.009827, allocations: 0.5554 MB / 254.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.009867, allocations: 19.92 kB / 254.9 MB, free: 3.203 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.009955, allocations: 28.8 kB / 255 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.01034, allocations: 207.7 kB / 255.2 MB, free: 2.945 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.01036, allocations: 384 / 255.2 MB, free: 2.945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.01038, allocations: 8.375 kB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.01065, allocations: 124.9 kB / 255.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01066, allocations: 3.938 kB / 255.3 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.01067, allocations: 0 / 255.3 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01068, allocations: 4 kB / 255.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01084, allocations: 47.91 kB / 255.3 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.01171, allocations: 0.7426 MB / 256.1 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.01202, allocations: 145.3 kB / 256.2 MB, free: 1.766 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01216, allocations: 58.98 kB / 256.3 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.01219, allocations: 7.984 kB / 256.3 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.01246, allocations: 128.1 kB / 256.4 MB, free: 1.531 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01246, allocations: 0 / 256.4 MB, free: 1.531 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005079/0.01297, allocations: 181.8 kB / 256.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.01306, allocations: 106.9 kB / 256.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.01346, allocations: 332.3 kB / 257 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.01349, allocations: 25.7 kB / 257 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.01365, allocations: 186.8 kB / 257.2 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.0137, allocations: 35.81 kB / 257.3 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.01378, allocations: 47.36 kB / 257.3 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.0141, allocations: 0.5157 MB / 257.8 MB, free: 44 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.0142, allocations: 27.98 kB / 257.9 MB, free: 16 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.0144, allocations: 127.5 kB / 258 MB, free: 15.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01462, allocations: 114.3 kB / 258.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01462, allocations: 0 / 258.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003192/0.01494, allocations: 145.5 kB / 258.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.01495, allocations: 7.938 kB / 258.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.01496, allocations: 7.938 kB / 258.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01498, allocations: 0 / 258.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.01508, allocations: 15.98 kB / 258.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.01508, allocations: 8.094 kB / 258.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.01518, allocations: 8 kB / 258.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.01519, allocations: 8 kB / 258.3 MB, free: 15.53 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.0001677/0.01536, allocations: 180.4 kB / 258.5 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.01541, allocations: 23.86 kB / 258.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.01568, allocations: 107.4 kB / 258.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01568, allocations: 4 kB / 258.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.01569, allocations: 128 / 258.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01569, allocations: 0 / 258.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.01601, allocations: 220.4 kB / 258.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01602, allocations: 4 kB / 258.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.01606, allocations: 11.94 kB / 258.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01606, allocations: 0 / 258.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01608, allocations: 4 kB / 258.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01608, allocations: 3.984 kB / 258.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01608, allocations: 0 / 258.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.01646, allocations: 203.6 kB / 259 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.0165, allocations: 19.8 kB / 259 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.01654, allocations: 8 kB / 259.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.01663, allocations: 7.984 kB / 259.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.0167, allocations: 23.97 kB / 259.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.01673, allocations: 8 kB / 259.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002508/0.01698, allocations: 221.1 kB / 259.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01698, allocations: 0 / 259.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.01725, allocations: 39.94 kB / 259.4 MB, free: 14.38 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.003117/0.02037, allocations: 451 kB / 259.8 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003959/0.02077, allocations: 99.66 kB / 259.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.02077, allocations: 0 / 259.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.02093, allocations: 63.59 kB / 260 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.02135, allocations: 56.38 kB / 260 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.02208, allocations: 333.1 kB / 260.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.02223, allocations: 123.7 kB / 260.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.02231, allocations: 21.62 kB / 260.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.02239, allocations: 28.48 kB / 260.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02239, allocations: 0 / 260.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of Templates: time 0.007966/0.03035, allocations: 2.858 MB / 263.4 MB, free: 10.35 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","/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.449861485045403]