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.001333/0.001333, allocations: 90.31 kB / 20.69 MB, free: 1.02 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.001414/0.001414, allocations: 158.2 kB / 23.95 MB, free: 4.152 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.424/1.424, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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 1.904e-06/1.904e-06, allocations: 0.5156 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.235e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004317/0.004339, allocations: 1.818 MB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.007326, allocations: 1.135 MB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.007492, allocations: 5.125 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.008308, allocations: 171.9 kB / 328.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.008966, allocations: 170 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.009575, allocations: 154.4 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.01003, allocations: 216.4 kB / 328.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.01015, allocations: 14.98 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.01043, allocations: 118.5 kB / 328.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.01063, allocations: 80.5 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.01067, allocations: 11.59 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.0109, allocations: 62.34 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.011, allocations: 48.12 kB / 329 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.01112, allocations: 44.2 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.0117, allocations: 230 kB / 329.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0117, allocations: 0 / 329.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0117, allocations: 1.031 kB / 329.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.01171, allocations: 0 / 329.2 MB, free: 13.95 MB / 302.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.001221/0.01293, allocations: 466.6 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.01298, allocations: 14.05 kB / 329.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.01309, allocations: 22.86 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.01354, allocations: 207 kB / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.01357, allocations: 4.516 kB / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.01359, allocations: 4.812 kB / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.01393, allocations: 113.8 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01394, allocations: 4.922 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.01396, allocations: 9.359 kB / 330.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.01398, allocations: 6.312 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.0142, allocations: 54.78 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009106/0.01511, allocations: 0.5324 MB / 330.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.0155, allocations: 130.8 kB / 330.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.01565, allocations: 46.58 kB / 330.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01569, allocations: 9.094 kB / 330.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.01602, allocations: 131 kB / 331 MB, free: 12.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.01603, allocations: 0 / 331 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.000683/0.01671, allocations: 172 kB / 331.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.01682, allocations: 108.9 kB / 331.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.01736, allocations: 299.8 kB / 331.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.01741, allocations: 31.95 kB / 331.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.01755, allocations: 121.6 kB / 331.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.01762, allocations: 40.3 kB / 331.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.01771, allocations: 37.3 kB / 331.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.01792, allocations: 329 kB / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01806, allocations: 33.2 kB / 332.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.01827, allocations: 100.4 kB / 332.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.01854, allocations: 98.98 kB / 332.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01855, allocations: 0 / 332.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004419/0.01899, allocations: 152 kB / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01901, allocations: 9.703 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01902, allocations: 5.188 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.01904, allocations: 2.312 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01915, allocations: 11.66 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01916, allocations: 5 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.01934, allocations: 16.77 kB / 332.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01935, allocations: 3.688 kB / 332.5 MB, free: 11.22 MB / 302.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.0002171/0.01957, allocations: 152.7 kB / 332.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.01964, allocations: 25.83 kB / 332.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.01999, allocations: 118.8 kB / 332.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01999, allocations: 5.281 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.02, allocations: 5.359 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02001, allocations: 1.312 kB / 332.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.02033, allocations: 175 kB / 333 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.02033, allocations: 1.156 kB / 333 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.02039, allocations: 5.5 kB / 333 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.0204, allocations: 5.281 kB / 333 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.02042, allocations: 14.67 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.02042, allocations: 1.219 kB / 333 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.02042, allocations: 5.062 kB / 333 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.02092, allocations: 184.7 kB / 333.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.02098, allocations: 22.7 kB / 333.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.02103, allocations: 6.438 kB / 333.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.02118, allocations: 9.891 kB / 333.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.02126, allocations: 13.55 kB / 333.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.02128, allocations: 4.688 kB / 333.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.02161, allocations: 225 kB / 333.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02161, allocations: 1.031 kB / 333.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.0221, allocations: 35.12 kB / 333.5 MB, free: 10.47 MB / 302.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.002193/0.02429, allocations: 451.5 kB / 334 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.02467, allocations: 89.16 kB / 334 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02467, allocations: 0 / 334 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.02487, allocations: 58.97 kB / 334.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.02541, allocations: 53.47 kB / 334.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.02628, allocations: 353.7 kB / 334.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.02645, allocations: 122.3 kB / 334.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.02657, allocations: 32.34 kB / 334.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.02665, allocations: 29.14 kB / 334.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.02665, allocations: 0 / 334.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Templates: time 0.0101/0.03675, allocations: 2.863 MB / 337.5 MB, free: 8.285 MB / 302.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.170890647917986]