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.001237/0.001237, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.001343/0.001343, allocations: 159.5 kB / 24.49 MB, free: 3.453 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.51/1.51, allocations: 177.1 MB / 204.7 MB, free: 9.02 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 0.00192/0.00192, allocations: 65.33 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1464, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.005649/0.152, allocations: 1.824 MB / 380.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1547, allocations: 1.122 MB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.1549, allocations: 4 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.1558, allocations: 175.5 kB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007419/0.1566, allocations: 167.3 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1573, allocations: 147.6 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.1577, allocations: 207.4 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1579, allocations: 21.78 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1581, allocations: 91.58 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1583, allocations: 87.66 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1583, allocations: 12 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.1585, allocations: 55.95 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1586, allocations: 55.77 kB / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1588, allocations: 59.61 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.1593, allocations: 235 kB / 383.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.1593, allocations: 0 / 383.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1593, allocations: 0 / 383.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1593, allocations: 0 / 383.1 MB, free: 11.26 MB / 350.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.001369/0.1607, allocations: 474.6 kB / 383.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.1608, allocations: 11.98 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.864e-05/0.1608, allocations: 20.8 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.1613, allocations: 205.6 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1613, allocations: 8.375 kB / 383.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1614, allocations: 12.36 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1617, allocations: 113.2 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1617, allocations: 0 / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1617, allocations: 11.94 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1617, allocations: 3.984 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1619, allocations: 51.91 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.1627, allocations: 0.5321 MB / 384.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.163, allocations: 131.9 kB / 384.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1631, allocations: 42.56 kB / 384.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1631, allocations: 8 kB / 384.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.1634, allocations: 125.8 kB / 384.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.1634, allocations: 0 / 384.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005257/0.1639, allocations: 181.9 kB / 385 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.164, allocations: 110.7 kB / 385.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.1644, allocations: 294 kB / 385.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1644, allocations: 33.7 kB / 385.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1646, allocations: 132.1 kB / 385.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.1646, allocations: 31.81 kB / 385.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1647, allocations: 29.7 kB / 385.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1649, allocations: 338.8 kB / 386 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.1649, allocations: 31.98 kB / 386 MB, free: 8.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1651, allocations: 110.7 kB / 386.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1653, allocations: 96.25 kB / 386.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1653, allocations: 0 / 386.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000288/0.1656, allocations: 145.5 kB / 386.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1656, allocations: 4 kB / 386.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1656, allocations: 7.938 kB / 386.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1656, allocations: 0 / 386.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.1657, allocations: 15.98 kB / 386.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1657, allocations: 4 kB / 386.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1659, allocations: 20.08 kB / 386.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1659, allocations: 7.938 kB / 386.4 MB, free: 7.688 MB / 350.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.0001856/0.1661, allocations: 149.9 kB / 386.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1661, allocations: 23.86 kB / 386.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1664, allocations: 111.4 kB / 386.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1664, allocations: 4 kB / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1664, allocations: 0 / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1664, allocations: 0 / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1666, allocations: 185.1 kB / 386.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1666, allocations: 4 kB / 386.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.1667, allocations: 15.92 kB / 386.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1667, allocations: 0 / 386.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1667, allocations: 8 kB / 386.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1667, allocations: 0 / 386.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1667, allocations: 0 / 386.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.167, allocations: 190.6 kB / 387.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1671, allocations: 15.91 kB / 387.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1671, allocations: 4 kB / 387.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1672, allocations: 23.92 kB / 387.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.1673, allocations: 11.97 kB / 387.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1673, allocations: 8 kB / 387.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.1676, allocations: 217.2 kB / 387.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1676, allocations: 0 / 387.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1678, allocations: 39.89 kB / 387.4 MB, free: 6.621 MB / 350.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.001781/0.1696, allocations: 438.5 kB / 387.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.1699, allocations: 95.89 kB / 387.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1699, allocations: 0 / 387.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1701, allocations: 47.98 kB / 388 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1705, allocations: 63.88 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/0.1712, allocations: 352.9 kB / 388.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.1714, allocations: 119.8 kB / 388.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.1715, allocations: 29.61 kB / 388.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1715, allocations: 20.5 kB / 388.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1715, allocations: 0 / 388.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Templates: time 0.007613/0.1792, allocations: 2.879 MB / 391.4 MB, free: 2.727 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/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.519361348007806]