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.001552/0.001552, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001685/0.001685, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.602/1.602, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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 2.134e-06/2.134e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/3.984e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.004961/0.005, allocations: 1.827 MB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.0081, allocations: 1.121 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.008274, allocations: 0 / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005829/0.0141, allocations: 167.4 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008492/0.02259, allocations: 191.1 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.03623, allocations: 135.5 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005666/0.0368, allocations: 215.4 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.03707, allocations: 21.73 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004052/0.04112, allocations: 119.6 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.04135, allocations: 75.78 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.04139, allocations: 12 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.04164, allocations: 59.89 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.04175, allocations: 51.84 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.04186, allocations: 51.78 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.0424, allocations: 219.3 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.04241, allocations: 3.984 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04241, allocations: 0 / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.04243, allocations: 4 kB / 276.4 MB, free: 13.54 MB / 266.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.00341/0.04584, allocations: 466.6 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.04587, allocations: 11.98 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.04594, allocations: 32.8 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.04628, allocations: 204.9 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.04629, allocations: 8.375 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.04631, allocations: 4.375 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.0466, allocations: 121.5 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.0466, allocations: 192 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.04661, allocations: 384 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.04662, allocations: 3.938 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.04679, allocations: 51.91 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.04755, allocations: 0.5361 MB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.04784, allocations: 123.9 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.04797, allocations: 50.56 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.04799, allocations: 3.938 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.04827, allocations: 137.8 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.04827, allocations: 0 / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000533/0.04881, allocations: 177.5 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004721/0.05353, allocations: 106.9 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.05395, allocations: 301.8 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.05399, allocations: 29.7 kB / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.0541, allocations: 124.1 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.05415, allocations: 27.83 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.05423, allocations: 41.64 kB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.05445, allocations: 326.8 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.05456, allocations: 39.91 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.05474, allocations: 98.84 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.05497, allocations: 104.2 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.05497, allocations: 0 / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003936/0.05537, allocations: 158 kB / 279.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.05539, allocations: 4 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.0554, allocations: 4 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.05541, allocations: 0 / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.0555, allocations: 16.09 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.05551, allocations: 4 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.05563, allocations: 15.98 kB / 279.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.05565, allocations: 8 kB / 279.7 MB, free: 9.977 MB / 266.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.0001967/0.05584, allocations: 145.8 kB / 279.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.0559, allocations: 31.78 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.0562, allocations: 119.4 kB / 280 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.05621, allocations: 4 kB / 280 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.05621, allocations: 3.938 kB / 280 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.05622, allocations: 4 kB / 280 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.05648, allocations: 177.2 kB / 280.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.05648, allocations: 0 / 280.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.05652, allocations: 11.92 kB / 280.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.05653, allocations: 7.938 kB / 280.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.05654, allocations: 0 / 280.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.05655, allocations: 4 kB / 280.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.05655, allocations: 0 / 280.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.05694, allocations: 194.6 kB / 280.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.05699, allocations: 23.83 kB / 280.4 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.05703, allocations: 8 kB / 280.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.05714, allocations: 11.98 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.05721, allocations: 19.95 kB / 280.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.05723, allocations: 8 kB / 280.5 MB, free: 9.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003074/0.05754, allocations: 217.2 kB / 280.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05754, allocations: 0 / 280.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.05783, allocations: 39.94 kB / 280.7 MB, free: 8.891 MB / 266.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.005996/0.06383, allocations: 427.5 kB / 281.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.06414, allocations: 99.45 kB / 281.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.06414, allocations: 7.938 kB / 281.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.06429, allocations: 47.92 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.06467, allocations: 77.83 kB / 281.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.06545, allocations: 366.9 kB / 281.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.0656, allocations: 123.8 kB / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.06573, allocations: 25.45 kB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.06579, allocations: 20.5 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0658, allocations: 0 / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.07615, allocations: 2.895 MB / 284.8 MB, free: 4.945 MB / 266.7 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.772462986991741]